Q: Rename constraint

Поиск
Список
Период
Сортировка
От Tilo Schwarz
Тема Q: Rename constraint
Дата
Msg-id 200301281847.57589.mail@tilo-schwarz.de
обсуждение исходный текст
Ответы Re: Q: Rename constraint  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi,

I want to rename several constraints. But I didn't find a way to rename a
constraint (eg. a foreign key constraint) except of dropping and recreating
it (with alter table) - am I right?

Now my question is, if I can directly change the value of
"pg_constraint.conname", or am I calling for trouble that way?

Thanks and regards,

    Tilo


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

Предыдущее
От: Francisco Reyes
Дата:
Сообщение: Compiling with -O3 optimization
Следующее
От: Tom Lane
Дата:
Сообщение: Re: serialization errors