Tables declared WITH OIDS are not supported.

huangapple go评论58阅读模式
英文:

Tables declared WITH OIDS are not supported

问题

This error occurs when I run the PG installcheck of AGE:

cd ~/new-age/age
make PG_CONFIG=~/age_project/postgres/bin/pg_config installcheck

Output:

/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 can I solve this?

英文:

This error occurs when I run the PG installcheck of AGE:

cd ~/new-age/age
make PG_CONFIG=~/age_project/postgres/bin/pg_config installcheck

Output:

/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 can I solve this?

答案1

得分: 1

确保您的Apache AGE分支与PostgreSQL版本兼容,并且已使用git fetchgit pull以确保您与所有内容保持最新。

您可以按照Apache AGE的官方指南进行操作,您将不会遇到任何问题!

英文:

Make sure your Apache AGE branch is compatible with the PostgreSQL version, and that you have used git fetch and git pulled so you can be up-to-date with everything.

You can follow the Apache AGE official guide and you will not have any problem!

答案2

得分: 0

这个错误发生是因为Apache AGE与您计算机上安装的PostgreSQL版本不兼容。

要解决此问题,您需要确保您的PostgreSQL版本是11、12或13,因为目前只支持这些版本。然后根据您的PostgreSQL版本,您需要从GitHub存储库克隆Apache AGE的特定兼容分支。

这将有望解决您的问题。

英文:

This error is happening because the Apache AGE is not compatible with the version of PostgreSQL you have installed on your computer.

To resolve this, you need to make sure you have PostgreSQL version either 11, 12 or 13 because right now only those versions are supported.Then Based on the version of your PostgreSQL you need to clone the specific compatible branch of Apache AGE from the GitHub repository.

This will hopefully solve your problem.

答案3

得分: 0

git checkout到与您的计算机上安装的PostgreSQL版本兼容的Apache Age版本的分支。错误很可能是由版本不兼容引起的。

英文:

git checkout to a branch of apache age version that's compatible with the postgres version installed on your machine. The error is most likely due to version incompatibilities.

答案4

得分: 0

这是由于您设备上安装的AGEPostgreSQL之间的兼容性问题导致的。

目前,
> 您需要安装与AGE兼容的Postgres版本,目前AGE仅支持Postgres 11、12和13。

英文:

This is as a result of compatibility issues between AGE and PostgreSQL installed on your device.

At the moment,
> You will need to install a AGE compatible version of Postgres, for now AGE only supports Postgres 11, 12 and 13.

答案5

得分: 0

你似乎正在使用不兼容的PostgreSQL版本。你应该尝试使用PG11来从源代码中设置AGE。

你可以在文档中查看AGE的安装步骤。

英文:

It appears that you are using an incompatible PostgreSQL version. You should try using PG11 for setting up AGE from the source code.

You can check out the AGE Docs for installation steps at Docs

答案6

得分: 0

这个错误是由 AGE 与系统上的 Postgres 版本不匹配引起的。使用正确的分支应该可以解决这个问题。即使支持的 Postgres 版本也不一定适用于 Apache AGE 项目的所有分支。
如果您查看分支列表,会发现有适用于所有 Postgres 版本的分支。

要切换到兼容的 Postgres 分支,请使用以下命令:

git checkout <Required Branch>

要获取完整的安装指南,请参阅此文章。从源代码安装 Apache AGE

此外,在安装过程中,请确保使用正确的 pg_config 路径并进行安装检查。

英文:

This error occurs due to version mismatch of AGE with the Postgres on the system. Using the correct branch should fix the issue. Even the supported version of Postgres does not work with all the branches of Apache AGE project.
If you check the branch list, there is a branch for all the versions of Postgres.

To switch the branch for compatible Postgres, use this command:

git checkout &lt;Required Branch&gt;

For the complete installation guide, follow this article. Install Apache AGE from Source

Also, make sure you use the correct path of pg_config during installation and install check.

答案7

得分: 0

目前问题在于机器上安装的Postgres版本与AGE之间的兼容性。目前,PG 11、12和13与AGE兼容可供使用。

英文:

The issue at hand here is of compatibility between the version of Postgres and AGE installed on the machine. Currently, PG 11, 12, and 13 are compatible to be used with AGE.

答案8

得分: 0

显然,这是与您的PostgreSQL版本兼容性有关的问题,根据文档,只有PostgreSQL的11、12和13版本与apacheAGE兼容。

英文:

Clearly it is the issue with the compatibility of your postgresql version, as per the documentation of apacheAGE only verion 11, 12, and 13 of postgresql are compatible with apacheAGE.

答案9

得分: 0

从你的图片来看,很明显是 AGE 与 postgreSQL 之间的兼容性问题。我建议将分支切换到所需的 postgreSQL 版本。

请使用以下命令:

cd age
git checkout required-version

目前,AGE 支持 postgreSQL 11、12 和 13。

如果你有进一步的问题,请查阅主仓库上的 AGE 文档。

英文:

Well you haven't mentioned your postgreSQL version installed. But from your picture it is clear that it is a compatibility issue between AGE and postgreSQL. What I suggest is to change the branch to the required postgreSQL version for AGE.

For that please use

cd age
git checkout required-version

Currently AGE is supported for postgreSQL 11,12 & 13.

If you have any further questions, I suggest going through the AGE documentation on the main repo.

答案10

得分: 0

WITH OIDS 在较早版本的 PostgreSQL 中受支持,其目的是生成对象 ID。

它不受新版本的 PostgreSQL 支持,这些版本兼容 AGE。因此,您必须使用 PostgreSQL **兼容版本(PG11、12、13)**与 AGE。

英文:

WITH OIDS was supported in the older versions of PostgreSQL and its purpose was to generate object IDs.

It is not supported by the new versions of PostgreSQL which are compatible with AGE. So, you have to use the PostgreSQL compatible version (PG11,12,13) with AGE.

答案11

得分: 0

不兼容性问题在AGE和Postgres版本之间。

> 您需要安装与AGE兼容的Postgres版本,目前AGE仅支持Postgres 11、12和13。


查看官方文档

英文:

Incompatibility between AGE and Postgres versions.

> You will need to install a AGE compatible version of Postgres, for now AGE only supports Postgres 11, 12 and 13.


Check out the official documentation.

huangapple
  • 本文由 发表于 2023年7月6日 21:05:14
  • 转载请务必保留本文链接:https://go.coder-hub.com/76629159.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定