From: Heikki Linnakangas Date: Mon, 4 May 2009 17:31:35 +0000 (+0000) Subject: Fix the query used for \d against 8.2 and 8.3 servers. X-Git-Url: http://git.postgresql.org/gitweb/irc:/static/gitweb.js?a=commitdiff_plain;h=8751ca99db98dbacaff60cb5cdcd78aa71a258ff;p=users%2Fsimon%2Fpostgres.git Fix the query used for \d against 8.2 and 8.3 servers. --- diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 07a2be5dc6..cd81c59a75 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -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)