Re: initdb: Use varargs macro for PG_CMD_PRINTF

2019-08-07 Thread Ibrar Ahmed
Hi, Patch does not apply, rebased patch on ( 68343b4ad75305391b38f4b42734dc07f2fe7ee2) attached On Wed, Aug 7, 2019 at 7:04 PM Tom Lane wrote: > Peter Eisentraut writes: > > Small patch to simplify some no longer necessary complicated code, using > > varargs macros. > > +1 > >

Re: initdb: Use varargs macro for PG_CMD_PRINTF

2019-08-07 Thread Tom Lane
Peter Eisentraut writes: > Small patch to simplify some no longer necessary complicated code, using > varargs macros. +1 regards, tom lane

initdb: Use varargs macro for PG_CMD_PRINTF

2019-08-07 Thread Peter Eisentraut
From: Peter Eisentraut Date: Wed, 7 Aug 2019 00:06:21 +0200 Subject: [PATCH 1/4] initdb: Use varargs macro for PG_CMD_PRINTF I left PG_CMD_PUTS around even though it could be handled by PG_CMD_PRINTF since PG_CMD_PUTS is sometimes called with non-literal arguments, and so that would create a poten