pgsql/src/backend/utils/adt ri_triggers.c

Lists: pgsql-committers
From: momjian(at)postgresql(dot)org
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/utils/adt ri_triggers.c
Date: 2001-11-12 06:09:09
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql
Changes by: momjian(at)postgresql(dot)org 01/11/12 01:09:09

Modified files:
src/backend/utils/adt: ri_triggers.c

Log message:
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