| From: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
|---|---|
| To: | <pgsql-patches(at)postgresql(dot)org> |
| Subject: | Small FK patch to deal with tables without oids |
| Date: | 2001-11-08 17:23:01 |
| Message-ID: | 20011108090005.D53365-200000@megazone23.bigpanda.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
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.
| Attachment | Content-Type | Size |
|---|---|---|
| oid_to_1.patch | text/plain | 6.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | bpalmer | 2001-11-08 17:23:41 | Re: OT?: PGReplication project dead? |
| Previous Message | Bradley McLean | 2001-11-08 16:44:08 | OT?: PGReplication project dead? |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2001-11-08 20:05:54 | [PATCHES] MD5 support for ODBC |
| Previous Message | Klaus Naumann | 2001-11-08 16:37:00 | Patch for Makefile race against current cvs |