Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitadaf601

Browse files
committed
Fix failure to double-quote function argument names when needed, in
pg_get_function_arguments() and related functions. Per report fromAndreas Nolte.
1 parentc773ec6 commitadaf601

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)

[8]ページ先頭

©2009-2025 Movatter.jp