pgsql: Fix compile failure.

2020-02-24 Thread Tom Lane
Fix compile failure. I forgot that some compilers won't handle #if constructs within ereport() calls. Duplicating most of the call is annoying but simple. Per buildfarm. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/36390713a60f446da7e7ae758771c9104fa89394 Modif

pgsql: Fix compile failure

2019-07-10 Thread Alvaro Herrera
Fix compile failure REL_11_STABLE's configure does not select C99 mode by default, so using C99 block initializer broke the build for some compilers. Revert to C89 in that branch. Author: Michaƫl Paquier Discussion: https://postgr.es/m/20190710070122.ge1...@paquier.xyz Branch -- REL_11_STAB