summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2009-07-07 21:45:05 +0000
committerTom Lane2009-07-07 21:45:05 +0000
commit7d2913d01b31dd4e1bd3b1acc53726c8505061e9 (patch)
treef4f8977fb6c75dbae4100ee23c0f9789cc444597
parente7ab180792afdce963be3eb722ae87a5a020ddd0 (diff)
Just a little more schema-qualification ...
-rw-r--r--src/bin/psql/describe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c
index e89b99d6c1..e73d1eab10 100644
--- a/src/bin/psql/describe.c
+++ b/src/bin/psql/describe.c
@@ -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);