Skip to content

Commit be6899f

Browse files
committed
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.
1 parent cbcd170 commit be6899f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/psql/describe.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
1010
*
11-
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.228 2009/10/07 22:14:24 alvherre Exp $
11+
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.229 2009/10/28 18:09:44 tgl Exp $
1212
*/
1313
#include "postgres_fe.h"
1414

@@ -415,7 +415,7 @@ describeFunctions(const char *functypes, const char *pattern, bool verbose, bool
415415
appendPQExpBuffer(&buf, " )\n");
416416
}
417417

418-
processSQLNamePattern(pset.db, &buf, pattern, have_where, true,
418+
processSQLNamePattern(pset.db, &buf, pattern, have_where, false,
419419
"n.nspname", "p.proname", NULL,
420420
"pg_catalog.pg_function_is_visible(p.oid)");
421421

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy