From 6fa43c88b40e058f0c1dfeed9f25f852ee57a6ea Mon Sep 17 00:00:00 2001
From: Guilherme Amadio <amadio@cern.ch>
Date: Thu, 23 Nov 2017 17:14:27 +0100
Subject: [PATCH] Do not include internal PostgreSQL header

This breaks the classic build with --enable-pgsql since the internal
header may not be found in the expected place for PostgreSQL 10.x.
---
 sql/pgsql/inc/TPgSQLStatement.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sql/pgsql/inc/TPgSQLStatement.h b/sql/pgsql/inc/TPgSQLStatement.h
index 3d8bbd1353c..39e7b7f1b0f 100644
--- a/sql/pgsql/inc/TPgSQLStatement.h
+++ b/sql/pgsql/inc/TPgSQLStatement.h
@@ -15,7 +15,6 @@
 #include "TSQLStatement.h"
 
 #include <libpq-fe.h>
-#include <pg_config.h> // to get PG_VERSION_NUM
 #ifdef USE_LDAP
 #undef USE_LDAP
 #endif
-- 
GitLab