Re: Proposal: Select ... AS OF Savepoint - Mailing list pgsql-hackers

From Jonah H. Harris
Subject Re: Proposal: Select ... AS OF Savepoint
Date
Msg-id 36e682920711020453s3566f62er70eeaea12e79308d@mail.gmail.com
Whole thread Raw
In response to Re: Proposal: Select ... AS OF Savepoint  ("Gokulakannan Somasundaram" <gokul007@gmail.com>)
Responses Re: Proposal: Select ... AS OF Savepoint  ("Gokulakannan Somasundaram" <gokul007@gmail.com>)
List pgsql-hackers
On 11/2/07, Gokulakannan Somasundaram <gokul007@gmail.com> wrote:
> If the proposal is implemented
> BEGIN
>
> savepoint s1;
>
> some DML operations
>
> get current inventory2 = select ...
>
> if current inventory2 is < fixed size
>     current inventory1 = select .. as of savepoint s1;
> END
>
> Do you see the difference?

Yes, a completely non-standard and somewhat unusual feature.  What I
don't see is why you're wasting time pushing this frankly obscure idea
for time-travel, "only within a transaction".  Why not just go all out
and suggest re-adding time-travel completely.

-- 
Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
EnterpriseDB Corporation                | fax: 732.331.1301
499 Thornall Street, 2nd Floor          | jonah.harris@enterprisedb.com
Edison, NJ 08837                        | http://www.enterprisedb.com/


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: xlogdump
Next
From: "Gokulakannan Somasundaram"
Date:
Subject: Re: Proposal: Select ... AS OF Savepoint