pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jackson, DeJuan <djackson@cpsgroup.com>
To: Leslie Mikesell <les@Mcs.Net>
To: pgsql-sql@postgreSQL.org
Subject: RE: [SQL] rename table - primary key index?
Date: Thu, 3 Sep 1998 13:29:28 -0500
Message-ID: <F10BB1FAF801D111829B0060971D839F3E2D21@cpsmail> (raw)

> Shouldn't:
>  alter table xxx rename to yyy
> also adjust the index built as a side effect of 'primary key'
> in the create table operation?
As far as v6.3.2 is concerned a primary key definition is simply a
unique index.  After the table is created there is no method to
determine which index was declared using as primary key.
		-DEJ

>   Les Mikesell
>    les@mcs.com



view thread (2+ messages)

Message-ID: <F10BB1FAF801D111829B0060971D839F3E2D21@cpsmail>
Permalink:  ../F10BB1FAF801D111829B0060971D839F3E2D21@cpsmail/
Also on:    postgresql.org/message-id/F10BB1FAF801D111829B0060971D839F3E2D21@cpsmail

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: djackson@cpsgroup.com, les@Mcs.Net
  Subject: Re: [SQL] rename table - primary key index?
  In-Reply-To: <F10BB1FAF801D111829B0060971D839F3E2D21@cpsmail>
  References: <F10BB1FAF801D111829B0060971D839F3E2D21@cpsmail>

* 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