comparison Framework/PostgreSQL/PostgreSQLIncludes.h @ 172:8c7bb94adff7

trying upgrade from libpq 9.6.1 to 13.1
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 11 Dec 2020 12:49:33 +0100
parents 063aa53b5917
children 30d3f68631d2
comparison
equal deleted inserted replaced
170:e712ff3eede3 172:8c7bb94adff7
38 #include <boost/date_time/posix_time/posix_time.hpp> 38 #include <boost/date_time/posix_time/posix_time.hpp>
39 39
40 // PostgreSQL includes 40 // PostgreSQL includes
41 #include <pg_config.h> 41 #include <pg_config.h>
42 42
43 #if !defined(PG_VERSION_NUM)
44 # error PG_VERSION_NUM is not defined
45 #endif
46
43 #if PG_VERSION_NUM >= 110000 47 #if PG_VERSION_NUM >= 110000
44 # include <postgres.h> 48 # include <postgres.h>
45 # undef LOG // This one comes from <postgres.h>, and conflicts with <Logging.h> 49 # undef LOG // This one comes from <postgres.h>, and conflicts with <Logging.h>
46 #endif 50 #endif
47 51