Asserting existing key to be primary

From: Chris Browne <cbbrowne(at)acm(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Asserting existing key to be primary
Date: 2004-08-12 19:14:23
Message-ID: 60vffocgog.fsf_-_@dev6.int.libertyrms.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I have a table that has a candidate primary key (e.g. - unique, not
null) that I wish to actually assert _is_ a primary key.

Is there a way to do that without too much (mwahahhaha! fiddling with
pg_class!!!) trickery?
--
(format nil "~S(at)~S" "cbbrowne" "acm.org")
http://cbbrowne.com/info/emacs.html
"What we need is either less corruption, or more chance to participate
in it." -- Unknown

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-08-12 19:27:29 Re: Turkish downcasting in PL/pgSQL
Previous Message Tom Lane 2004-08-12 19:13:53 Re: [HACKERS] SAVEPOINT syntax again