initdb: Use varargs macro for PG_CMD_PRINTF
Hackorum builds and tests every patch posted to the lists, not only commitfest submissions. This is Hackorum's own CI rather than the PostgreSQL project's, and it is still under testing - please report anything that looks wrong.
You can run a PostgreSQL built from this patch straight from Docker, with no checkout and no build:
docker run --rm -p 5432:5432 ghcr.io/hackorum-dev/postgres-patch:t41043psql -h localhost -U postgresBuilt from patchset v3 (message #3), July 28, 2026 at 03:55 AM.
Every patchset is also pushed to a branch of our PostgreSQL fork, so you can check out the same tree CI built. Without a PostgreSQL checkout:
git clone --branch t41043_3 https://github.com/hackorum-dev/postgres.gitIn a checkout you already have, add the fork once:
git remote add hackorum https://github.com/hackorum-dev/postgres.gitthen, for this patchset and every later one:
git fetch hackorum t41043_3 && git checkout t41043_3Patchset v3 (message #3) is on t41043_3
Small patch to simplify some no longer necessary complicated code, using
varargs macros.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Attachments:
0001-initdb-Use-varargs-macro-for-PG_CMD_PRINTF.patchtext/plain; charset=UTF-8; name=0001-initdb-Use-varargs-macro-for-PG_CMD_PRINTF.patch; x-mac-creator=0; x-mac-type=0Download+8-21
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
Small patch to simplify some no longer necessary complicated code, using
varargs macros.
+1
regards, tom lane
Hi,
Patch does not apply, rebased patch on (
68343b4ad75305391b38f4b42734dc07f2fe7ee2) attached
On Wed, Aug 7, 2019 at 7:04 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
Small patch to simplify some no longer necessary complicated code, using
varargs macros.+1
regards, tom lane
--
Ibrar Ahmed