Re: Small FK patch to deal with tables without oids - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Small FK patch to deal with tables without oids
Date
Msg-id 200111120532.fAC5WQ420143@candle.pha.pa.us
Whole thread Raw
In response to Re: Small FK patch to deal with tables without oids  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Small FK patch to deal with tables without oids
List pgsql-patches
Tom, I assume you want this applied?

---------------------------------------------------------------------------

> Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
> >     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.
>
> Can't believe I missed that while looking for OID dependencies :-(
> Good catch!
>
>             regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Patch for Makefile race against current cvs
Next
From: Tom Lane
Date:
Subject: Re: Small FK patch to deal with tables without oids