From: Thomas Spreng <spreng@socket.ch>
To: sathiya psql <sathiya.psql@gmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: rename constraint
Date: Thu, 17 Apr 2008 14:14:38 +0200
Message-ID: <C4496A86-3F18-4ACA-8640-6DD98E2A4AC1@socket.ch> (raw)
In-Reply-To: <f966c2ee0804170503q7686d4mad785d11fa3753e5@mail.gmail.com>
References: <f966c2ee0804170503q7686d4mad785d11fa3753e5@mail.gmail.com>
On 17.04.2008, at 14:03, sathiya psql wrote:
> Hi,
>
> I need to change the name of the constraint.,
>
> 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....
That's how I would do it, create the new constriaint, then drop the
old one.
I'n not aware of any syntax that would allow to rename a constraint.
Cheers,
tom
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: spreng@socket.ch, sathiya.psql@gmail.com
Subject: Re: rename constraint
In-Reply-To: <C4496A86-3F18-4ACA-8640-6DD98E2A4AC1@socket.ch>
* 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