pg_rewrite 庻嗘婺臘启蓖商垔幬䔇麉喍蓇彍㔗
臘43-28. pg_rewrite 庖枕
劉庖 | 䌂傋 | 嚘䫘 | 柟誄 |
---|---|---|---|
rulename | name | 蓇彍劉䓄 | |
ev_class | oid | pg_class.oid | 嘪䫘認溇蓇彍䔇臘劉䓄 |
ev_attr | int2 | 認溇蓇彍锗䫘䔇庖枕(䕞嬉攂滇婺镽臘䴺昘婻臘) | |
ev_type | char | 蓇彍锗䫘䔇庋傽䌂傋 1 = SELECT, 2 = UPDATE, 3 = INSERT, 4 = DELETE | |
is_instead | bool | 套悩臖蓇彍滇 INSTEAD 蓇彍闼幽婺䩘 | |
ev_qual | text | 蓇彍䔇蕇湚溇傽䔇臘膆嚟湏(傖 nodeToString() 嘵嚟庻婘) | |
ev_action | text | 蓇彍媘嘩䔇昖臵湏(傖 nodeToString() 嘵嚟庻婘) |
㔊濘懟㔏套悩婔婻臘婘認婻係䂘臘麯橬傂嘘蓇彍庻婘闼幽 pg_class.relhasrules 媙釂婺䩘㔗