pgsql: Fix compile failure.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix compile failure.
Date: 2020-02-24 23:43:48
Message-ID: E1j6NO8-0004Zc-Dt@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Modified Files
--------------
contrib/dblink/dblink.c | 26 ++++++++++++++++++--------
contrib/postgres_fdw/connection.c | 14 ++++++++++----
2 files changed, 28 insertions(+), 12 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-02-25 05:01:36 pgsql: Fix build failure on header generation with repetitive builds of
Previous Message Andres Freund 2020-02-24 23:27:30 pgsql: expression eval: Reduce number of steps for agg transition invoc