Browser in pgAdmin4 v3.6 is not able to show either Function orTrigger function in Release 11 database

Поиск
Список
Период
Сортировка
От Petr Fedorov
Тема Browser in pgAdmin4 v3.6 is not able to show either Function orTrigger function in Release 11 database
Дата
Msg-id 877e974f-14bc-9446-4ec9-428a36d8e88e@phystech.edu
обсуждение исходный текст
Ответы Re: Browser in pgAdmin4 v3.6 is not able to show either Function orTrigger function in Release 11 database  (Petr Fedorov <petr.fedorov@phystech.edu>)
Список pgadmin-support

Hello!

I'm on Centos 7 and just migrated to Release 11 (from 10) using official repository and re-installed pgAdmin4 v.3.6 from there too.   Suddenly I'm not able to see in browser Function and Trigger Functions!

It appears that the problem is due to this sql request which refers to proisagg columns which has been incompatibly removed in Release 11 as described here for example:

SELECT    pr.oid, pr.proname || '(' || COALESCE(pg_catalog.pg_get_function_identity_arguments(pr.oid), '') || ')' as name,    lanname, pg_get_userbyid(proowner) as funcowner, description
FROM
    pg_proc pr
JOIN
    pg_type typ ON typ.oid=prorettype
JOIN
    pg_language lng ON lng.oid=prolang
LEFT OUTER JOIN
    pg_description des ON (des.objoid=pr.oid AND des.classoid='pg_proc'::regclass)
WHERE
    proisagg = FALSE
    AND pronamespace = 16626::oid
    AND typname NOT IN ('trigger', 'event_trigger')
ORDER BY
    proname;œ


It seems that in order to resolve it I just need to replace proisagg = FALSE with prokind != 'a'. Could you please let me know whether I can do it myself using pgAdmin4 version from the repository or I need to install from the source code? 

Or is there any other workaround for that issue?

В списке pgadmin-support по дате отправления:

Предыдущее
От: Patrick De Visschere
Дата:
Сообщение: Re: Change browser in MacOS
Следующее
От: Petr Fedorov
Дата:
Сообщение: Re: Browser in pgAdmin4 v3.6 is not able to show either Function orTrigger function in Release 11 database