小编Tra*_*onk的帖子

由于缺少 oid 运算符,无法从 pgAdmin4 中的表中输出数据

我目前在本地运行 Postgresql 10.6,我使用 PgAdmin 4.12 与之交互,直到今天一切都运行良好。但是今天我在 pgAdmin 查询编辑器中运行了以下查询:

SELECT * FROM test_table LIMIT 100
Run Code Online (Sandbox Code Playgroud)

并得到以下错误:

ERROR:  operator does not exist: - oid at character 125
HINT:  No operator matches the given name and argument type. You might need to add an explicit type cast.
STATEMENT:  SELECT at.attname, at.attnum, ty.typname
        FROM pg_attribute at LEFT JOIN pg_type ty ON (ty.oid = at.atttypid)
        WHERE attrelid=-1519044407::oid AND attnum = ANY (
            (SELECT con.conkey FROM pg_class rel LEFT OUTER JOIN pg_constraint con ON con.conrelid=rel.oid
            AND …
Run Code Online (Sandbox Code Playgroud)

postgresql select table pgadmin-4 objectid

5
推荐指数
1
解决办法
2340
查看次数

标签 统计

objectid ×1

pgadmin-4 ×1

postgresql ×1

select ×1

table ×1