| От | Tom Lane |
|---|---|
| Тема | Re: Foreign keys for non-default datatypes, redux |
| Дата | |
| Msg-id | 18093.1171331712@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Foreign keys for non-default datatypes, redux (Stephan Szabo <sszabo@megazone.bigpanda.com>) |
| Список | pgsql-hackers |
Stephan Szabo <sszabo@megazone.bigpanda.com> writes:
> I think #1, while ugly, is probably less ugly than the others, although I
> guess it means even more work if the underlying type of the column is
> changed.
Oy, I hadn't thought of that. [ considers... ] I *think* that it'll
work without special code, because ALTER COLUMN TYPE drops and recreates
the constraints, but definitely something to test. Thanks for the
reminder.
> Is there any reason to think that in the future we might need more such
> things for some constraints?
Um ... more such which, exactly? And do you have something in mind if
the answer is "yes"?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера