two-column primary key (not the typical question)

From: Chip Nowacek <chip(at)twostewards(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: two-column primary key (not the typical question)
Date: 2012-07-07 02:00:01
Message-ID: CAFsC43EeKenOGKNDoJqLMS4VZQnFTNEsnhYUySHyZODSmveVpQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I need a suggestion. I need a two-column primary key that does not depend
on the order of the entries. That is, for the purposes of the key:

PKColA PKColB
foo bar
bar foo

is not valid.

Any help would be appreciated.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Travers 2012-07-07 02:09:13 Re: two-column primary key (not the typical question)
Previous Message John R Pierce 2012-07-07 01:03:42 Re: Re: index and data tablespaces on two separate drives or one RAID 0?