Re: referential integrity between elements of an array and another table?

From: Ken Tanzer <ken(dot)tanzer(at)gmail(dot)com>
To: Henry M <henrymanmail(at)gmail(dot)com>
Cc: Rob Sargent <robjsargent(at)gmail(dot)com>, PG-General Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: referential integrity between elements of an array and another table?
Date: 2017-04-20 00:16:50
Message-ID: CAD3a31U-2dAeskg4FR=G=aBGPmFE9dGHQui0m1U5GfEJrOZNXQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

For me, foreign keys for arrays would be incredibly helpful. For simple
checkbox-type options, it's _much_ simpler to just put them in an array,
and I work with a UI that can handle the arrays well. I do hope this makes
it into Postgresql someday! In the meantime, I've mostly sacrificed the
referential integrity in favor of the convenience. Just my two cents.

Cheers,
Ken

--
AGENCY Software
A Free Software data system
By and for non-profits
*http://agency-software.org/ <http://agency-software.org/>*
*https://agency-software.org/demo/client
<https://agency-software.org/demo/client>*
ken(dot)tanzer(at)agency-software(dot)org
(253) 245-3801

Subscribe to the mailing list
<agency-general-request(at)lists(dot)sourceforge(dot)net?body=subscribe> to
learn more about AGENCY or
follow the discussion.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message George Neuner 2017-04-20 01:44:10 Re: full text search on hstore or json with materialized view?
Previous Message Henry M 2017-04-19 23:52:28 Re: referential integrity between elements of an array and another table?