Re: Changing the Primary Key Column

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pdxpug(at)postgresql(dot)org
Subject: Re: Changing the Primary Key Column
Date: 2011-02-24 00:43:20
Message-ID: alpine.LNX.2.00.1102231642230.17955@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pdxpug

On Wed, 23 Feb 2011, Joshua D. Drake wrote:

> Uhh, no. You drop the constraint and re-add it for the second column.

Josh,

And if I do this, I can follow that with dropping the first column which
no longer has any constraints? This would be the simplest and quickest
solution.

Rich

--
Richard B. Shepard, Ph.D. | The Plain English Science Consultant
Applied Ecosystem Services, Inc. | Helping Ensure Our Clients' Futures
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863

In response to

Responses

Browse pdxpug by date

  From Date Subject
Next Message Joshua D. Drake 2011-02-24 01:01:57 Re: Changing the Primary Key Column
Previous Message Rich Shepard 2011-02-24 00:42:05 Re: Changing the Primary Key Column