Re: How to create primary key

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To:
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to create primary key
Date: 2007-11-06 11:06:44
Message-ID: 47304AC4.5090108@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 06/11/2007 09:38, Samantha Atkins wrote:

> So, ALTER TABLE test ADD PRMARY KEY(f1 [, ... ] )
> isn't enough? It appears in the examples. What more does the explicit
> test_pk do that wouldn't happen anyway?

<confession>
To make sure I got it right, I tried it out using PgAdmin and copied the
generated SQL into my email - hence the pedantically complete statement. :-)
</confession>

Ray.

---------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
---------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2007-11-06 12:07:49 Re: How to create primary key
Previous Message Magnus Hagander 2007-11-06 09:57:00 Re: How to create primary key