Short-circuiting FK check for a newly-added field

Поиск
Список
Период
Сортировка
От Decibel!
Тема Short-circuiting FK check for a newly-added field
Дата
Msg-id AA5FB9A8-42DA-4D9C-8D9C-2DCFD0C55376@decibel.org
обсуждение исходный текст
Ответы Re: Short-circuiting FK check for a newly-added field  (David Fetter <david@fetter.org>)
Список pgsql-general
I need to add a field to a fairly large table. In the same alter
statement I'd like to add a FK constraint on that new field. Is there
any way to avoid the check of the table that the database is doing
right now? The check is pointless because the newly added field is
nothing but NULLs.

This is version 8.1.mumble.
--
Decibel!, aka Jim C. Nasby, Database Architect  decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828



Вложения

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

Предыдущее
От: Reece Hart
Дата:
Сообщение: Re: how to modify a view
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: best er modeling tool for postgreSQL