Skip to content

FindPostgreSQL: Do not require pg_type.h

Alexey Edelev requested to merge semlanik/cmake:fix_17223 into master

In systems where PostgreSQL has separate developer packages for server and client libraries PostgreSQL_TYPE_INCLUDE_DIR is not specified. According to initial logic server part was not required but was accidentally added to REQUIRED_VARS during the migration to find_package_handle_standard_args.

ToDo: Ideally server libraries should have own FindPostgreSQLServer.cmake or according to Config concept PostgreSQLConfig should have Server and Client components.

Fixes: #17223 (closed)
Topic-rename: FindPostgreSQL-server-not-required

Edited by Brad King

Merge request reports