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)
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