Re: Foreign keys for non-default datatypes, redux

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: OT: IRC nick to real world mapping
Следующее
От: Koichi Suzuki
Дата:
Сообщение: Re: Archive log compression keeping physical log available in the crash recovery