Re: Q: Rename constraint

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Q: Rename constraint
Дата
Msg-id 4397.1043792802@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Q: Rename constraint  (Tilo Schwarz <mail@tilo-schwarz.de>)
Список pgsql-general
Tilo Schwarz <mail@tilo-schwarz.de> writes:
> Now my question is, if I can directly change the value of
> "pg_constraint.conname", or am I calling for trouble that way?

If it's a foreign-key constraint, I think you'd also need to update
pg_trigger.tgconstrname for the triggers belonging to the constraint.

            regards, tom lane

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

Предыдущее
От: "Terri Lerose"
Дата:
Сообщение: Re: How do I unsubscribe?
Следующее
От: Uros Gruber
Дата:
Сообщение: Re: tsearch comments