mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
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.
This commit is contained in:
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
|
* 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"
|
#include "postgres_fe.h"
|
||||||
|
|
||||||
@ -415,7 +415,7 @@ describeFunctions(const char *functypes, const char *pattern, bool verbose, bool
|
|||||||
appendPQExpBuffer(&buf, " )\n");
|
appendPQExpBuffer(&buf, " )\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
processSQLNamePattern(pset.db, &buf, pattern, have_where, true,
|
processSQLNamePattern(pset.db, &buf, pattern, have_where, false,
|
||||||
"n.nspname", "p.proname", NULL,
|
"n.nspname", "p.proname", NULL,
|
||||||
"pg_catalog.pg_function_is_visible(p.oid)");
|
"pg_catalog.pg_function_is_visible(p.oid)");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user