On 20.02.22 01:39, Tom Lane wrote:
>> Hm, wouldn't it be less code to just use printf?
> Meh --- it'd be different from the way we do it in the rest
> of initdb, and it would not be "less code". Maybe it'd run
> a shade faster, but I refuse to believe that that'd be
> enough to matter.
There is a PG_CMD_PRINTF() that is used for that purpose.