aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2025-01-23 17:47:15 +0530
committerAmit Kapila <akapila@postgresql.org>2025-01-23 17:47:15 +0530
commitb35434b134b1e1a306649a8c63c5c46afdcf7b1e (patch)
tree21a89b3bf192fa05230ba3a19531acfcd90176d8 /src
parent34694ec888d6783c3222134305a86e533b43071d (diff)
downloadpostgresql-b35434b134b1e1a306649a8c63c5c46afdcf7b1e.tar.gz
postgresql-b35434b134b1e1a306649a8c63c5c46afdcf7b1e.zip
Fix buildfarm failure introduced by commit e65dbc9927.
The patch had incorrectly specified the default value for publish_generated_columns during the query formation in pg_dump. Author: Vignesh C <vignesh21@gmail.com> Discussion: https://postgr.es/m/CAA4eK1KfZYTD8Hpi9TD1KaB8rNUBR9baUvTxa5wYyZDGbEaa6g@mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/pg_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index 9b840fc400a..af857f00c7c 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -4318,7 +4318,7 @@ getPublications(Archive *fout)
if (fout->remoteVersion >= 180000)
appendPQExpBufferStr(query, "p.pubgencols_type ");
else
- appendPQExpBufferStr(query, CppAsString2(PUBLISH_GENCOLS_NONE) " AS pubgencols_type ");
+ appendPQExpBuffer(query, "'%c' AS pubgencols_type ", PUBLISH_GENCOLS_NONE);
appendPQExpBufferStr(query, "FROM pg_publication p");