pgRouting / vrprouting

Vehicle Routing Problems on the Database
GNU General Public License v2.0
20 stars 6 forks source link

Add support for PostgreSQL-14 #22

Closed krashish8 closed 2 years ago

krashish8 commented 2 years ago

PostgreSQL-14 was recently released, and GitHub actions support it by default.

Not specifying PostgreSQL version leads to a build failure:

In file included from /home/runner/work/vrprouting/vrprouting/src/common/postgres_connection.c:25:
/home/runner/work/vrprouting/vrprouting/include/c_common/postgres_connection.h:29:10: fatal error: 'postgres.h' file not found
#include <postgres.h>
         ^~~~~~~~~~~~
In file included from /home/runner/work/vrprouting/vrprouting/src/vroom/vroom.c:36:
/home/runner/work/vrprouting/vrprouting/include/c_common/postgres_connection.h:29:10: fatal error: 'postgres.h' file not found
#include <postgres.h>
         ^~~~~~~~~~~~