Re: thw rewriter and default values, again - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: thw rewriter and default values, again
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: thw rewriter and default values, again  (Greg Stark <[email protected]>)
List pgsql-hackers
On 28 May 2005 10:25:48 -0400, Greg Stark <[email protected]> wrote:
>
> Jaime Casanova <[email protected]> writes:
>
> > The only problem i have found until now is that
> > update v_foo set col1 = DEFAULT; execute nextval twice per every record.
> > so there will be a gasp between numbers, but AFAIK nextval has no
> guarantee
> > of returning sequential numbers.
>
> While there's no guarantee that strong there's still an expected behaviour.
> sequences generate sequential numbers and only skip in specific cases.
>
> I think this would still surprise and bother most users.
>
Certainly, i will look deeper in it.

--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)


pgsql-hackers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: thw rewriter and default values, again
Next
From: Tom Lane
Date:
Subject: Re: unsafe use of hash_search(... HASH_ENTER ...)