postgrespro/vops

Ошибка после установки расширения

Closed this issue · 0 comments

После установки расширения у меня появилась проблема с тем, что перестал работать pgAdmin 4.0, аналогично отваливается DataGrip при получении объектов из схемы public.

Возникает следующая ошибка:

with schema_procs as (select prorettype, proargtypes, proallargtypes from pg_catalog.pg_proc where pronamespace = ?::oid and xmin::varchar::bigint > ? ), schema_opers as (select oprleft, oprright, oprresult from pg_catalog.pg_operator where oprnamespace = ?::oid and xmin::varchar::bigint > ? ), schema_aggregates as (select A.aggtranstype , A.aggmtranstype from pg_catalog.pg_aggregate A join pg_catalog.pg_proc P on A.aggfnoid = P.oid where P.pronamespace = ?::oid and (A.xmin::varchar::bigint > ? or P.xmin::varchar::bigint > ?) ), schema_arg_types as ( select prorettype as type_id from schema_procs union select distinct unnest(proargtypes) as type_id from schema_procs union select distinct unnest(proallargtypes) as type_id from schema_procs union select oprleft as type_id from schema_opers where oprleft is not null union select oprright as type_id from schema_opers where oprright is not null union select oprresult as type_id from schema_opers where oprresult is not null union select aggtranstype::oid as type_id from schema_aggregates union select aggmtranstype::oid as type_id from schema_aggregates ) select type_id, pg_catalog.format_type(type_id, null) as type_spec from schema_arg_types where type_id
0 [42725] org.postgresql.util.PSQLException: ОШИБКА: функция unnest(oidvector) не уникальна Подсказка: Не удалось выбрать лучшую кандидатуру функции. Возможно, вам следует добавить явные приведения типов. Позиция: 1006

После удаления расширения ошибка пропадает.

Используемая версия Postgres:
PostgresPro 11.1.1 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0, 64-bit

Установленные расширения:

extname extowner extnamespace extrelocatable extversion extconfig extcondition
plpgsql 10 11 false 1.0 NULL NULL
file_fdw 10 2200 true 1.0 NULL NULL
pg_buffercache 10 2200 true 1.3 NULL NULL
pg_stat_statements 10 2200 true 1.5 NULL NULL
pg_variables 10 2200 true 1.1 NULL NULL
tablefunc 10 2200 true 1.0 NULL NULL
uuid-ossp 10 2200 true 1.1 NULL NULL
pg_pathman 16384 2200 false 1.5 {119515229,119515240} {,}
tds_fdw 16384 2200 true 2.0.0-alpha.2 NULL NULL
plv8 16384 11 false 2.3.8 NULL NULL
pg_query_state 16384 2200 true 1.1 NULL NULL
bloom 16384 2200 true 1.0 NULL NULL
pageinspect 16384 2200 true 1.7 NULL NULL
btree_gin 16384 2200 true 1.3 NULL NULL
pg_trgm 16384 2200 true 1.4 NULL NULL
vops 16384 2200 true 1.0 NULL NULL