summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-10-28 18:10:00 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-10-28 18:10:00 +0000
commit4b53f16be9599b4d3f1f067d5070eefd8ab2ce85 (patch)
treedc7989bb955706d454cbd6482a249d382d5a94d4
parentf18a77acc842ef466128d9ee6b5e26d63d19d1bf (diff)
downloadpostgresql-4b53f16be9599b4d3f1f067d5070eefd8ab2ce85.tar.gz
Fix \df to re-allow regexp special characters in the function name pattern.
This has always worked, up until somebody's thinko here: http://archives.postgresql.org/pgsql-committers/2009-04/msg00233.php Per bug #5143 from Piotr Wolinski.
-rw-r--r--src/bin/psql/describe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c
index 3da1e0a493..53b5b07e98 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.218.2.1 2009/07/20 03:46:53 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.218.2.2 2009/10/28 18:10:00 tgl Exp $
*/
#include "postgres_fe.h"
@@ -415,7 +415,7 @@ describeFunctions(const char *functypes, const char *pattern, bool verbose, bool
appendPQExpBuffer(&buf, " )\n");
}
- processSQLNamePattern(pset.db, &buf, pattern, have_where, true,
+ processSQLNamePattern(pset.db, &buf, pattern, have_where, false,
"n.nspname", "p.proname", NULL,
"pg_catalog.pg_function_is_visible(p.oid)");