Re: RULE vs. SEQUENCE

Поиск
Список
Период
Сортировка
От Karel Zak
Тема Re: RULE vs. SEQUENCE
Дата
Msg-id Pine.LNX.3.96.1000904135551.219G-100000@ara.zf.jcu.cz
обсуждение исходный текст
Ответ на Re: RULE vs. SEQUENCE  (Hannu Krosing <hannu@tm.ee>)
Ответы Re: RULE vs. SEQUENCE
Список pgsql-hackers
> >  But executor can knows that somethig was already executed, we can mark
> > some already executed expressions in rewriter and not execute it again in
> > final executor... like:
> ...
> > 
> >  IMHO this is a good point for 7.2 ...
> 
> But if instead of nextval() you had random(), would you still want to execute
> it 
> only once ? And how should postgres know ?
Talking you still about RULEs? 
...I don't undestand you. What is a 'NEW' in RULE? I (and probably more 
users) expect that new data from tuple which go into original table. Right?

Not ... if you use sequence. IMHO it's not "feature" but nice bug that
crash your data integrity...
            Karel 



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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: RULE vs. SEQUENCE
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: RULE vs. SEQUENCE