Thread: Re: Use more CppAsString2() in pg_amcheck.c

Re: Use more CppAsString2() in pg_amcheck.c

From
Nathan Bossart
Date:
On Fri, Oct 18, 2024 at 06:50:50PM +0900, Michael Paquier wrote:
> -    appendPQExpBufferStr(&sql, "\nWHERE c.relpersistence != 't'");
> +    appendPQExpBufferStr(&sql, "\nWHERE c.relpersistence != "
> +                         CppAsString2(RELPERSISTENCE_TEMP) " ");

I think these whitespace changes may cause invalid statements to be
produced in some code paths.  IMHO those should be reserved for a separate
patch, anyway.

-- 
nathan