Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)
Дата
Msg-id 200310082230.h98MUIf08911@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)  (Jan Wieck <JanWieck@Yahoo.com>)
Ответы Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Jan Wieck wrote:
> > I think this is a larger argument than the one that was being discussed
> > above. Given a dump of objects I own, can I restore them without requiring
> > the fk check to be done if I alter table add constraint a foreign key? If
> > the answer to that is no, then the option can be put in as a superuser
> > only option and it's relatively easy. If the answer to that is yes, then
> > there are additional issues that need to be resolved.
> 
> Well, with the CREATE CONSTRAINT TRIGGER you _can_, but we already have 
> a consensus that we don't _want_ that. Probably we should declare it 
> deprecated and remove it in 7.5. And the option currently under 
> discussion is exactly what will cause ALTER TABLE to let you, but IMHO 
> that _should_ be restricted.

Added to TODO:
* Remove CREATE CONSTRAINT TRIGGER

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: 2-phase commit
Следующее
От: shyamperi@davlin.co.in
Дата:
Сообщение: Problem with the pq_recvbuf