diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2009-05-04 17:31:35 +0000 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2009-05-04 17:31:35 +0000 |
commit | 0e1988483866f3515fa966de53786cf902a1d3b3 (patch) | |
tree | e48a0aeb209d585636f6e5f13c20124f2e122f88 /src | |
parent | 3a0717c3f078d02e7b0ce64ad3a703313cbcea33 (diff) | |
download | postgresql-0e1988483866f3515fa966de53786cf902a1d3b3.tar.gz postgresql-0e1988483866f3515fa966de53786cf902a1d3b3.zip |
Fix the query used for \d against 8.2 and 8.3 servers.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/psql/describe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index e55e4e1bebd..2315d36d7f8 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.210 2009/04/21 17:28:01 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.211 2009/05/04 17:31:35 heikki Exp $ */ #include "postgres_fe.h" @@ -1049,7 +1049,7 @@ describeOneTableDetails(const char *schemaname, "%s, reltablespace\n" "FROM pg_catalog.pg_class WHERE oid = '%s'", (verbose ? - "pg_catalog.array_to_string(reloptions, E', ')" : ",''"), + "pg_catalog.array_to_string(reloptions, E', ')" : "''"), oid); } else if (pset.sversion >= 80000) |