aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-10-28 18:09:44 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-10-28 18:09:44 +0000
commitbe6899f13941d42fe4ae2b71023241d22ecae8b8 (patch)
treee6625d59fbcc2125c5db09560d2a4f23211d03fc /src
parentcbcd1701f12d133a04b8a104bff20738b2c29e4b (diff)
downloadpostgresql-be6899f13941d42fe4ae2b71023241d22ecae8b8.tar.gz
postgresql-be6899f13941d42fe4ae2b71023241d22ecae8b8.zip
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.
Diffstat (limited to 'src')
-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 0c49d812eea..51a4db15faa 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.228 2009/10/07 22:14:24 alvherre Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.229 2009/10/28 18:09:44 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)");