rename constraint

From: "sathiya psql" <sathiya(dot)psql(at)gmail(dot)com>
To: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: rename constraint
Date: 2008-04-17 12:03:48
Message-ID: f966c2ee0804170503q7686d4mad785d11fa3753e5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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....

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Thomas Spreng 2008-04-17 12:14:38 Re: rename constraint
Previous Message Pavan Deolasee 2008-04-17 10:16:05 Re: Exact index overhead