☰
Debian Codegraph
@
18.6-3
18.4-1
/
/
src
/
test
/
examples
/
testlibpq2.sql
☽
☼
src/test/examples/testlibpq2.sql
code
plain
raw
PostgreSQL
Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group; Portions Copyright (c) 1994, The Regents of the University of California
debian/copyright
1
CREATE SCHEMA TESTLIBPQ2;
2
SET search_path = TESTLIBPQ2;
3
CREATE TABLE TBL1 (i int4);
4
CREATE TABLE TBL2 (i int4);
5
CREATE RULE r1 AS ON INSERT TO TBL1 DO
6
(INSERT INTO TBL2 VALUES (new.i); NOTIFY TBL2);