Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> res = PQexec(g_conn,
> ! "SELECT oid from pg_database where datname = 'template1'");
> res = PQexec(g_conn,
> ! "SELECT oid FROM pg_class ORDER BY oid DESC LIMIT 1");
Won't that result in *everything* being considered a system table?
regards, tom lane