| От | Tom Lane |
|---|---|
| Тема | Re: Renaming constraints |
| Дата | |
| Msg-id | 7567.1255032445@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Renaming constraints (Andreas Kalsch <andreaskalsch@gmx.de>) |
| Ответы |
Re: Renaming constraints
Using pg_catalog to define things across schemas |
| Список | pgsql-general |
Andreas Kalsch <andreaskalsch@gmx.de> writes:
> But with this operation you will recreate the whole index. - I have
> found out, that the name of the constraint's index is the same as the
> constraint, so that I can simply rename the index.
You'd probably better rename the constraint too to avoid confusion.
Failing anything else, there's always direct UPDATE of the pg_constraint
catalog.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера