Content-Length: 274693 | pFad | http://github.com/postgrespro/postgres/commit/adaf60131f81394939b5b55f74130343d520cd2d

05 Fix failure to double-quote function argument names when needed, in · postgrespro/postgres@adaf601 · GitHub
Skip to content

Commit adaf601

Browse files
committed
Fix failure to double-quote function argument names when needed, in
pg_get_function_arguments() and related functions. Per report from Andreas Nolte.
1 parent c773ec6 commit adaf601

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/adt/ruleutils.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $PostgreSQL: pgsql/src/backend/utils/adt/ruleutils.c,v 1.298 2009/05/26 17:36:05 tgl Exp $
12+
* $PostgreSQL: pgsql/src/backend/utils/adt/ruleutils.c,v 1.299 2009/06/09 14:36:06 tgl Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -1832,7 +1832,7 @@ print_function_arguments(StringInfo buf, HeapTuple proctup,
18321832
appendStringInfoString(buf, ", ");
18331833
appendStringInfoString(buf, modename);
18341834
if (argname && argname[0])
1835-
appendStringInfo(buf, "%s ", argname);
1835+
appendStringInfo(buf, "%s ", quote_identifier(argname));
18361836
appendStringInfoString(buf, format_type_be(argtype));
18371837
if (print_defaults && isinput && inputargno > nlackdefaults)
18381838
{

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/adaf60131f81394939b5b55f74130343d520cd2d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy