rename primary key - Mailing list pgsql-sql

From Seb
Subject rename primary key
Date
Msg-id 87hbqo11yg.fsf@kolob.sebmags.homelinux.org
Whole thread Raw
Responses Re: rename primary key  (Ian Barwick <barwick@gmail.com>)
List pgsql-sql
Hi,

Is it possible to rename a primary key?  I learnt that to rename foreign
keys one has to drop it and recreate with the new name, or add a new new
and drop the old one.  What is the approach for primary keys?  Thanks.


Cheers,

-- 
Seb



pgsql-sql by date:

Previous
From: gherzig@fmed.uba.ar
Date:
Subject: Re: problem using regexp_replace
Next
From: Ian Barwick
Date:
Subject: Re: rename primary key