pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gould <andrewgould@yahoo.com>
To: Elielson Fontanezi <ElielsonF@prodam.sp.gov.br>
To: pgsql-general <pgsql-general@postgresql.org>
To: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: ALTER TABLE ... DROP CONSTRAINT
Date: Wed, 30 Jul 2003 09:07:09 -0700 (PDT)
Message-ID: <20030730160709.22226.qmail@web13402.mail.yahoo.com> (raw)
In-Reply-To: <A799F7647794D311924A005004ACEA97096997AD@cprodamibs249.prodam>

--- Elielson Fontanezi <ElielsonF@prodam.sp.gov.br>
wrote:
> Hi all!
>  
>     Who can tell me what postgres version supports
> ALTER TABLE... DROP
> CONSTRAINT without
> the need of droping the table to remove a simple
> coinstraint. (link)
> 
> Elielson Fontanezi
> PRODAM - Technical Support
> Analyst

I performed that task yesterday using PostgreSQL
7.3.3:

Alter table mkt drop constraint mkt_pkey;

I don't know if it's supported in earlier versions.

Best regards,

Andrew Gould



view thread (6+ messages)  latest in thread

Message-ID: <20030730160709.22226.qmail@web13402.mail.yahoo.com>
Permalink:  ../20030730160709.22226.qmail@web13402.mail.yahoo.com/
Also on:    postgresql.org/message-id/20030730160709.22226.qmail@web13402.mail.yahoo.com

 · 

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: andrewgould@yahoo.com, ElielsonF@prodam.sp.gov.br, pgsql-general@postgresql.org
  Subject: Re: ALTER TABLE ... DROP CONSTRAINT
  In-Reply-To: <20030730160709.22226.qmail@web13402.mail.yahoo.com>

* 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