Re: Asserting existing key to be primary - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: Asserting existing key to be primary
Date
Msg-id 6EE64EF3AB31D5448D0007DD34EEB3412A7459@Herge.rcsinc.local
Whole thread Raw
In response to Asserting existing key to be primary  (Chris Browne <cbbrowne@acm.org>)
Responses Development Schedule Page
List pgsql-hackers
> Is there a way to do that without too much (mwahahhaha! fiddling with
> pg_class!!!) trickery?

esp=# alter table test add primary key(id);
NOTICE:  ALTER TABLE / ADD PRIMARY KEY will create implicit index
"test_pkey" for table "test"
ALTER TABLE


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Postgres development model (was Re: CVS comment)
Next
From: Manfred Spraul
Date:
Subject: Re: hot spare / log shipping work on