Index: pgDatabase.cpp =================================================================== RCS file: /projects/pgadmin3/src/schema/pgDatabase.cpp,v retrieving revision 1.70 retrieving revision 1.71 diff -Lsrc/schema/pgDatabase.cpp -Lsrc/schema/pgDatabase.cpp -u -w -r1.70 -r1.71 --- src/schema/pgDatabase.cpp +++ src/schema/pgDatabase.cpp @@ -328,7 +328,7 @@ // We only add the Jobs node if the appropriate objects are in this DB. wxString exists = ExecuteScalar( wxT("SELECT cl.oid FROM pg_class cl JOIN pg_namespace ns ON ns.oid=relnamespace\n") - wxT(" WHERE relname='pga_job' AND nspname='pgadmin'")); + wxT(" WHERE relname='pga_job' AND nspname='pgagent'")); if (!exists.IsNull()) {