Re: 7.4 Wishlist

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: 7.4 Wishlist
Дата
Msg-id 20021201022334.C37277-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Re: 7.4 Wishlist  (Neil Conway <neilc@samurai.com>)
Ответы Re: 7.4 Wishlist  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 30 Nov 2002, Neil Conway wrote:

> On Sat, 2002-11-30 at 12:47, Stephan Szabo wrote:
> > check constraints with subselects.
>
> Have we decided how this would even work? Last I heard, Tom still had
> some major reservations about the practicality of implementing these --
> for example, would you re-evaluate all constraints that SELECT from a
> table when the table changes?

You'd have to either do it in all cases or come up with something that was
smart enough to limit the cases to some extent based on the expression. I
doubt that it'd perform terribly well, especially at first.  I can't see
any justification for doing it as insert/update on main table only since
by my reading of the spec the constraint is logically checked at the end
of each statement (or transaction) even if we would normally not do so in
practice when we know the constraint shouldn't be violated.

Of course this was in the general set of, if I had months and months and
nothing else to do (like work) then I'd want to look at it because I think
it'd be useful.



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

Предыдущее
От: "Nicolai Tufar"
Дата:
Сообщение: Re: [GENERAL] Segmentation fault while COPY in 7.3
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: tsearch thoughts