Re: Proposed feature: Selective Foreign Keys - Mailing list pgsql-hackers

From Gavin Wahl
Subject Re: Proposed feature: Selective Foreign Keys
Date
Msg-id CACPudh1HQ8=jQL9wD8O_gFJa3gPcp07-V_Ni44xD_DQ_=FL=mA@mail.gmail.com
Whole thread Raw
In response to Proposed feature: Selective Foreign Keys  (Tom Dunstan <pgsql@tomd.cc>)
List pgsql-hackers
This a great solution to this problem, one I've found to be very common in web development. The technique will work to add RI to Django's generic foreign keys[1], which are implemented with an id column and a type-flag column.

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: [bug fix] multibyte messages are displayed incorrectly on the client
Next
From: Peter Geoghegan
Date:
Subject: Re: INSERT...ON DUPLICATE KEY LOCK FOR UPDATE