Get RULE condition and commands

Поиск
Список
Период
Сортировка
От Vlad Arkhipov
Тема Get RULE condition and commands
Дата
Msg-id 4FDADABB.1070008@dc.baikal.ru
обсуждение исходный текст
Ответы Re: Get RULE condition and commands  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
What is the proper way of getting RULE condition and commands? The query below does not work.

select pg_get_expr(ev_qual, ev_class, true) as condition,
       pg_get_expr(ev_action, ev_class, true) as commands
from pg_rewrite;

ERROR:  bogus varno: 2

********** Error **********

ERROR: bogus varno: 2
SQL state: XX000

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

Предыдущее
От: gelin yan
Дата:
Сообщение: Re: pg_ctl start close the cmd.exe then the server would stop.
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: Submit query using dblink that hung the host