Re: getting rid of SnapshotNow

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: getting rid of SnapshotNow
Date: 2013-07-26 17:45:25
Message-ID: CA+TgmoZkiVB1TCncxMT3aC64YW_3gmhg1ZcqgBq0mRtYD8GUcg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-odbc

On Fri, Jul 26, 2013 at 10:16 AM, Andres Freund <andres(at)2ndquadrant(dot)com> wrote:
> I am more concerned about the care needed when placing
> CommandCounterIncrement()'s somewhere though. It seems more than likely
> that this will get repeatedly broken, even if it's not atm (which I
> doubt). E.g. inheritance handling seems to be rather wonky WRT this.

There may well be bugs. I am fine with reviewing patches to improve
the code in this area, but I don't plan to take it upon myself to
rewrite that code. Either it's working as expected, or nobody's using
it, because we're not getting any bug reports.

>> Not that I really object if someone wants to have a go at getting rid
>> of SnapshotSelf, but I think it'd be worth articulating what we hope
>> to accomplish by so doing.
>
> Agreed. From the internal usages there doesn't seem to be too much
> pressure.

So unless there are objections to the patch as posted, I'm going to
apply that next week. This in no way precludes more work in this area
later, but since we're likely to break third-party code with this
change, we might as well get it out of the way as early in the release
cycle as possible.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2013-07-26 19:19:02 Re: ALTER SYSTEM SET command to change postgresql.conf parameters (RE: Proposal for Allow postgresql.conf values to be changed via SQL [review])
Previous Message Lonni J Friedman 2013-07-26 17:40:34 postgres FDW cost estimation options unrecognized in 9.3-beta1

Browse pgsql-odbc by date

  From Date Subject
Next Message Frank A. U. 2013-07-27 01:50:00 UNICODE again
Previous Message Andres Freund 2013-07-26 14:16:49 Re: getting rid of SnapshotNow