Search Postgresql Archives

Get RULE condition and commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux