From: Tom Lane Date: Tue, 7 Jul 2009 21:45:05 +0000 (+0000) Subject: Just a little more schema-qualification ... X-Git-Tag: REL8_5_ALPHA1~163 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=e01d732db3695d21123fd94c230a55d45bf27c95;p=postgresql.git Just a little more schema-qualification ... --- diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index da089049018..56ba8b382f4 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -8,7 +8,7 @@ * * Copyright (c) 2000-2009, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.223 2009/07/07 20:32:20 petere Exp $ + * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.224 2009/07/07 21:45:05 tgl Exp $ */ #include "postgres_fe.h" @@ -1822,7 +1822,7 @@ describeOneTableDetails(const char *schemaname, /* print child tables */ if (pset.sversion >= 80300) - printfPQExpBuffer(&buf, "SELECT c.oid::pg_catalog.regclass FROM pg_catalog.pg_class c, pg_catalog.pg_inherits i WHERE c.oid=i.inhrelid AND i.inhparent = '%s' ORDER BY c.oid::pg_catalog.regclass::text;", oid); + printfPQExpBuffer(&buf, "SELECT c.oid::pg_catalog.regclass FROM pg_catalog.pg_class c, pg_catalog.pg_inherits i WHERE c.oid=i.inhrelid AND i.inhparent = '%s' ORDER BY c.oid::pg_catalog.regclass::pg_catalog.text;", oid); else printfPQExpBuffer(&buf, "SELECT c.oid::pg_catalog.regclass FROM pg_catalog.pg_class c, pg_catalog.pg_inherits i WHERE c.oid=i.inhrelid AND i.inhparent = '%s' ORDER BY c.relname;", oid);