I\'m trying to get the FindPostgreSQL
module to find /usr/include/postgre
On Ubuntu you can also work around that issue by calling cmake
with having PostgreSQL_TYPE_INCLUDE_DIR
defined like this:
cmake -DPostgreSQL_TYPE_INCLUDE_DIR=/usr/include/postgresql/
See the bug report [1] for this issue and a potential fix [2]. Álso see the discussion about the reasoning behind the move on the debian mailinglist at [3].
On Ubuntu/Debian, starting with PostgreSQL 9.3 the header file pg_type.h
is moved to a separate package (from libpq-dev
to postgresql-server-dev
)
and consequently the file pg_type.h
is moved to a new location