Re: RULE vs. SEQUENCE

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Hannu Krosing <hannu(at)tm(dot)ee>
Cc: Jan Wieck <janwieck(at)Yahoo(dot)com>, pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: RULE vs. SEQUENCE
Date: 2000-09-04 12:05:05
Message-ID: Pine.LNX.3.96.1000904135551.219G-100000@ara.zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gilles DAROLD 2000-09-04 12:29:33 Re: PL/Perl compilation error
Previous Message Jan Wieck 2000-09-04 12:02:46 Re: RULE vs. SEQUENCE