Re: Primary Key - Mailing list pgsql-general

From Sam Mason
Subject Re: Primary Key
Date
Msg-id 20071116202120.GA1955@frubble.xen.chris-lamb.co.uk
Whole thread Raw
In response to Re: Primary Key  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: Primary Key  ("Merlin Moncure" <mmoncure@gmail.com>)
List pgsql-general
On Fri, Nov 16, 2007 at 12:06:46PM -0800, Joshua D. Drake wrote:
> When that is needed I do this:
>
> create table foo(id serial unique, a text, b text, primary (a,b));

Humm, so the other way around from what I've ended up doing.  I'll need
to think about the implications of changing things around like this.
There are lots of things that seems as though they'll be pretty awkard
to do, I'm sure it's just because I haven't thought about it enough.


  Sam

pgsql-general by date:

Previous
From: Tom Hart
Date:
Subject: "field doesn't exist" even though I'm sure it does
Next
From: "Joshua D. Drake"
Date:
Subject: Re: "field doesn't exist" even though I'm sure it does