OSDN Git Service

Tables without oids wouldn't be able to be
authorBruce Momjian <bruce@momjian.us>
Mon, 12 Nov 2001 06:09:09 +0000 (06:09 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 12 Nov 2001 06:09:09 +0000 (06:09 +0000)
commite506ca40634b0e893ea888aaf18896cab309f704
tree1c9e569092a0c9d6e005c1e78a11e1150bf2b6b9
parent9371325042a21cd5369d5efcb592f2b9de685441
    Tables without oids wouldn't be able to be
used inside fk constraints, since some of the checks
in the trigger did a SELECT oid.  Since the oid wasn't
actually used, I changed this to SELECT 1.  My test
case with non-oid tables now works and fk regression
appears to run fine on my machine.

Stephan Szabo
src/backend/utils/adt/ri_triggers.c