pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: sathiya psql <sathiya.psql@gmail.com>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: rename constraint
Date: Thu, 17 Apr 2008 17:33:48 +0530
Message-ID: <f966c2ee0804170503q7686d4mad785d11fa3753e5@mail.gmail.com> (raw)

Hi,

I need to change the name of the constraint.,

What will be the best way to do this.

Am using postgres 8.1.

Is it possible to do the rename constraint( like renaming a column), i don't
know how to do this ?

Or i need to drop the constraint, and i need to create constraint with new
name, how the impact of this in performance, because these constraint
changes am going to do in a table which has 10 million records....

view thread (2+ messages)  latest in thread

Message-ID: <f966c2ee0804170503q7686d4mad785d11fa3753e5@mail.gmail.com>
Permalink:  ../f966c2ee0804170503q7686d4mad785d11fa3753e5@mail.gmail.com/
Also on:    postgresql.org/message-id/f966c2ee0804170503q7686d4mad785d11fa3753e5@mail.gmail.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-performance@postgresql.org
  Cc: sathiya.psql@gmail.com
  Subject: Re: rename constraint
  In-Reply-To: <f966c2ee0804170503q7686d4mad785d11fa3753e5@mail.gmail.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