Re: Modeling Friendship Relationships

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Modeling Friendship Relationships
Date: 2014-11-12 01:20:37
Message-ID: 5462B5E5.6040706@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

a difficulty of the single entry for joe<->bob is that its hard to have
a unique constraint across two fields. you'd want to ensure that
joe+bob is unique and that there's no bob+joe

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G Johnston 2014-11-12 01:32:13 Re: Modeling Friendship Relationships
Previous Message Bill Moran 2014-11-12 01:11:27 Re: Modeling Friendship Relationships