Re: Small FK patch to deal with tables without oids

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Small FK patch to deal with tables without oids
Date: 2001-11-12 06:09:03
Message-ID: 200111120609.fAC693e22100@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


Patch applied. Thanks.

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

>
> 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.

Content-Description:

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-11-12 06:09:11 Re: Small FK patch to deal with tables without oids
Previous Message Tom Lane 2001-11-12 06:00:11 Re: Small FK patch to deal with tables without oids

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-11-12 06:09:11 Re: Small FK patch to deal with tables without oids
Previous Message Tom Lane 2001-11-12 06:00:11 Re: Small FK patch to deal with tables without oids