File: test2.rb

# test2.rb

Path: | sample/test2.rb
Last Update: | Sat Mar 10 09:20:45 -0700 2007

original file src/test/examples/testlibpq2.c

                          Test of the asynchronous notification interface

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); Then start up this program After the program has begun, do INSERT INTO TBL1 values (10);

### Required files

postgres

### Methods

main

### Public Instance methods

main()

[Validate]