| От | Tom Lane |
|---|---|
| Тема | Re: Problems with renaming a column |
| Дата | |
| Msg-id | 9828.1054576850@sss.pgh.pa.us обсуждение |
| Ответ на | Problems with renaming a column (Rod Taylor <rbt@rbt.ca>) |
| Ответы |
Re: Problems with renaming a column
|
| Список | pgsql-hackers |
Rod Taylor <rbt@rbt.ca> writes:
> As you can see below, after a rename the check constraint still refers
> to 'col' and not 'newname' as pg_constraint.consrc is not updated.
The same issue has always existed with regard to pg_attrdef.adsrc.
pg_dump ought to be using the binary column not the source column, just
as it does for default expressions.
> It seems this is a problem in 7.3 as well. I believe the solution is to
> outright remove consrc, and enable the interface to request a text
> version of conbin on the fly.
I do not think we need to remove the column.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера