this error occurs when I run the PG installcheck of AGE
marcos@Marcos:~/new-age/age$ make PG_CONFIG=~/age_project/postgres/bin/pg_config installcheck
/home/marcos/age_project/postgres/lib/pgxs/src/makefiles/../../src/test/regress/pg_regress --inputdir=./ --bindir='/home/marcos/age_project/postgres/bin' --load-extension=age --inputdir=.//regress --outputdir=.//regress --temp-instance=.//regress/instance --port=61958 --encoding=UTF-8 --dbname=contrib_regression scan graphid agtype catalog cypher expr cypher_create cypher_match cypher_unwind cypher_set cypher_remove cypher_delete cypher_with cypher_vle cypher_union cypher_call cypher_merge age_global_graph age_load index analyze graph_generation name_validation drop
============== removing existing temp instance ==============
============== creating temporary instance ==============
============== initializing database system ==============
============== starting postmaster ==============
running on port 61958 with PID 132693
============== creating database "contrib_regression" ==============
CREATE DATABASE
ALTER DATABASE
============== installing age ==============
ERROR: tables declared WITH OIDS are not supported
command failed: "/home/marcos/age_project/postgres/bin/psql" -X -c "CREATE EXTENSION IF NOT EXISTS "age"" "contrib_regression"
make: *** [/home/marcos/age_project/postgres/lib/pgxs/src/makefiles/pgxs.mk:420: installcheck] Error 2
How to solve this?
2
Answers
It appears that you are using an incompatible PostgreSQL version. You should try using PG11 for setting up AGE from the source code.
This blog explains the process of setting up and modifying the Apache AGE source code in depth: Guide to setting up and modifying AGE source code
Make sure your AGE branch is compatible with the postgres version, and that you have used
git fetch
andgit pulled
so you can be up-to-date with everything.You can follow the apacheAGE official guide and you will have no problem!