Tables without oids wouldn't be able to be

Bruce Momjian <bruce@momjian.us>

Commit: e506ca40634b0e893ea888aaf18896cab309f704
Author: Bruce Momjian <bruce@momjian.us>
Date: 2001-11-12T06:09:09Z
Releases: 7.2.1
        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

Files

PathChange+/−
src/backend/utils/adt/ri_triggers.c modified +13 −13