pgsql: Fix compile failure.

Started by Tom Laneover 6 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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(-)