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

Commitcd2a6b5

Browse files
committed
When a GUC string variable is not set, print the empty string (in SHOW etc.),
not "unset". An "unset" state doesn't really exist; all variables behavelike an empty string value if the string being pointed to has not beeninitialized.
1 parent79bc99a commitcd2a6b5

File tree

1 file changed

+2
-2
lines changed
  • src/backend/utils/misc

1 file changed

+2
-2
lines changed

‎src/backend/utils/misc/guc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.330 2006/07/26 11:35:56 petere Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.331 2006/07/26 11:39:47 petere Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -5113,7 +5113,7 @@ _ShowOption(struct config_generic * record)
51135113
elseif (*conf->variable&&**conf->variable)
51145114
val=*conf->variable;
51155115
else
5116-
val="unset";
5116+
val="";
51175117
}
51185118
break;
51195119

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp