Re: Small FK patch to deal with tables without oids

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

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Tom, I assume you want this applied?

Please.

regards, tom lane

> ---------------------------------------------------------------------------

>> Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)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(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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-11-12 06:09:03 Re: Small FK patch to deal with tables without oids
Previous Message Bruce Momjian 2001-11-12 05:39:05 Re: Possible major bug in PlPython (plus some other ideas)

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-11-12 06:09:03 Re: Small FK patch to deal with tables without oids
Previous Message Bruce Momjian 2001-11-12 05:32:26 Re: Small FK patch to deal with tables without oids