Commit 68ba62fd authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰

[3382] configure now uses PGSQL_INCLUDEDIR_SERVER

parent 00f76a6a
......@@ -937,7 +937,8 @@ if test "$PG_CONFIG" != "" ; then
PGSQL_CPPFLAGS=`$PG_CONFIG --cppflags`
PGSQL_INCLUDEDIR=`$PG_CONFIG --includedir`
PGSQL_CPPFLAGS="$PGSQL_CPPFLAGS -I$PGSQL_INCLUDEDIR"
PGSQL_INCLUDEDIR_SERVER=`$PG_CONFIG --includedir-server`
PGSQL_CPPFLAGS="$PGSQL_CPPFLAGS -I$PGSQL_INCLUDEDIR -I$PGSQL_INCLUDEDIR_SERVER"
PGSQL_LIBS=`$PG_CONFIG --libdir`
PGSQL_LIBS="-L$PGSQL_LIBS -lpq"
PGSQL_VERSION=`$PG_CONFIG --version`
......
......@@ -36,7 +36,7 @@
// completion. PostgreSQL deliberately omits this macro from errocodes.h
// so callers can supply their own.
#define MAKE_SQLSTATE(ch1,ch2,ch3,ch4,ch5) {ch1,ch2,ch3,ch4,ch5}
#include <server/utils/errcodes.h>
#include <utils/errcodes.h>
const size_t STATECODE_LEN = 5;
// Currently the only one we care to look for is duplicate key.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment