Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit fc8a81e

Browse files
committed
Revert inadvertant change in pg_config behavior
In commit a5c43b8 the behavior of command line pg_config was inadvertantly changed to include the config name when specific configs are requested, similar to when none are requested and all are emitted. This breaks scripts that expect to use pg_config for e.g. PGXS. Revert the behavior to the previous.
1 parent a5c43b8 commit fc8a81e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_config/pg_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ show_item(const char *configname,
121121
for (i = 0; i < configdata_len; i++)
122122
{
123123
if (strcmp(configname, configdata[i].name) == 0)
124-
printf("%s = %s\n", configdata[i].name, configdata[i].setting);
124+
printf("%s\n", configdata[i].setting);
125125
}
126126
}
127127

0 commit comments

Comments
 (0)