pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: creationw <mr.creation.register@gmail.com>
To: pgsql-sql@postgresql.org
Subject: How to workaround DROP CONSTRAINT [ IF EXISTS ] in Postgres version 8.1?
Date: Wed, 2 Feb 2011 14:21:43 -0800 (PST)
Message-ID: <1296685303841-3368570.post@n5.nabble.com> (raw)


Hello,


I found that DROP CONSTRAINT [ IF EXISTS ] is available in Postgres 9.1
http://developer.postgresql.org/pgdocs/postgres/sql-altertable.html
http://developer.postgresql.org/pgdocs/postgres/sql-altertable.html


But it is not avaiable in Postgres 8.1
http://www.postgresql.org/docs/8.1/interactive/sql-altertable.html
http://www.postgresql.org/docs/8.1/interactive/sql-altertable.html


Is there a way to achieve this on Postgres 8.1?

Thanks a lot
-- 
View this message in context: http://postgresql.1045698.n5.nabble.com/How-to-workaround-DROP-CONSTRAINT-IF-EXISTS-in-Postgres-vers...
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.



view thread (2+ messages)  latest in thread

Message-ID: <1296685303841-3368570.post@n5.nabble.com>
Permalink:  ../1296685303841-3368570.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1296685303841-3368570.post@n5.nabble.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: mr.creation.register@gmail.com
  Subject: Re: How to workaround DROP CONSTRAINT [ IF EXISTS ] in Postgres version 8.1?
  In-Reply-To: <1296685303841-3368570.post@n5.nabble.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