Re: Modifying check constraints

Поиск
Список
Период
Сортировка
От Vivek Khera
Тема Re: Modifying check constraints
Дата
Msg-id 15347.59257.484994.256311@yertle.kciLink.com
обсуждение исходный текст
Ответ на Re: Modifying check constraints  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-general
>>>>> "SS" == Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:

SS> If you can have downtime, you might just want to look at making the
SS> new table and using insert into to copy the data and rename the tables
SS> around.  This is kinda unhappy with foreign keys and more complicated
SS> constructs, but in general is less likely to cause you grief.

Unfortunately, I have plenty of foreign keys and *TONS* of data in
that table, and downtime is undesirable, but possible.

I'm gonna try the constraint surgery, as it seems to work.

Thanks.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

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

Предыдущее
От: Doug McNaught
Дата:
Сообщение: Re: Bug?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bug?