I found my previous problem. PGHOST was not set correctly and it was still pointing to my old database.
Now my issue is here:
[14/Dec/2003:22:58:18][12594.1024][-main-] Debug: PgBindCmd: query with bind variables sub\
stituted =
select apm_package__new(
NULL,
'Authentication',
'acs-authentication',
'apm_package',
now(),
null,
null,
NULL
);
WARNING: Error occurred while executing PL/pgSQL function apm_package__singleton_p
WARNING: line 5 at select into variables
[14/Dec/2003:22:58:18][12594.1024][-main-] Error: Ns_PgExec: result status: 7 message: ERR\
OR: pg_atoi: error in "t": can't parse "t"