mirror of
https://github.com/postgres/postgres.git
synced 2025-05-28 05:21:27 +03:00
This is mostly cosmetic, but it might fix build failures, on some platform, when copying from the documentation. Back-patch to 9.3 (all supported versions).
7 lines
147 B
SQL
7 lines
147 B
SQL
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);
|