postgresql/src/test/examples/testlibpq2.sql

6 lines
145 B
MySQL
Raw Normal View History

CREATE TABLE TBL1 (i int4);
CREATE TABLE TBL2 (i int4);
CREATE RULE r1 AS ON INSERT TO TBL1 DO [INSERT INTO TBL2 values (new.i); NOTIFY TBL2];