pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ligia Pimentel <lmpimentel@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: An easy question about creating a primary key
Date: Thu, 29 Nov 2001 17:22:22 -0600
Message-ID: <9u6gco$7fb$1@news.tht.net> (raw)

Hello.

I'm using postgres 7.1. I have an easy question...

I want to create a primary key constraint on an existing table. The
documentation says I can't . Please confirm. If this is true... How can I
rename the existing table so I can create the new one and copy the data?

Thank you

Ligia





view thread (13+ messages)  latest in thread

Message-ID: <9u6gco$7fb$1@news.tht.net>
Permalink:  ../9u6gco$7fb$1@news.tht.net/
Also on:    postgresql.org/message-id/9u6gco$7fb$1@news.tht.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: lmpimentel@yahoo.com
  Subject: Re: An easy question about creating a primary key
  In-Reply-To: <9u6gco$7fb$1@news.tht.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox