Re: Disable and enable of table and column constraints
От
Tom Lane
Тема
Re: Disable and enable of table and column constraints
Дата
Msg-id
23971.1252595179@sss.pgh.pa.us
Ответ на
Re: Disable and enable of table and column constraints (Christopher Browne)
Список
Дерево обсуждения
Re: Disable and enable of table and column constraints Christopher Browne <cbbrowne@ca.afilias.info>
Re: Disable and enable of table and column constraints Tom Lane <tgl@sss.pgh.pa.us>
Re: Disable and enable of table and column constraints Jan Wieck <JanWieck@Yahoo.com>
Re: Disable and enable of table and column constraints Martijn van Oosterhout <kleptog@svana.org>
Re: Disable and enable of table and column
constraints "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Christopher Browne writes: > With the ALTER TABLE DISABLE TRIGGER functionality added in 8.3, we > already have the ability to do this with foreign key constraints. That "feature" is a crock that should not be extended, because it leaves it entirely on the user's shoulders whether the constraint is actually true when the system thinks it is. What is being discussed here is ways to incrementally add real, proven-valid constraints. (Indeed, given the thought that's being given to having the planner assume that FK constraints hold, I rather think that we need to reconsider ALTER DISABLE TRIGGER.) regards, tom lane
В списке pgsql-hackers по дате отправления