Re: rename constraint

Поиск
Список
Период
Сортировка
От Thomas Spreng
Тема Re: rename constraint
Дата
Msg-id C4496A86-3F18-4ACA-8640-6DD98E2A4AC1@socket.ch
обсуждение исходный текст
Ответ на rename constraint  ("sathiya psql" <sathiya.psql@gmail.com>)
Список pgsql-performance
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


В списке pgsql-performance по дате отправления:

Предыдущее
От: "sathiya psql"
Дата:
Сообщение: rename constraint
Следующее
От: Gunther Mayer
Дата:
Сообщение: Re: Exact index overhead