Re: [ODBC] getting rid of SnapshotNow - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [ODBC] getting rid of SnapshotNow
Date
Msg-id 20130718162508.GP4165@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: [ODBC] getting rid of SnapshotNow  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: [ODBC] getting rid of SnapshotNow
List pgsql-hackers
Andres Freund escribió:
> On 2013-07-18 12:01:39 -0400, Robert Haas wrote:
> > On Thu, Jul 18, 2013 at 11:54 AM, Alvaro Herrera
> > <alvherre@2ndquadrant.com> wrote:
> > > They don't show up in a quick grep of psqlodbc's source code, FWIW.
> >
> > Hmm.  Maybe we should just remove them and see if anyone complains.
> > We could always put them back (or make them available via contrib) if
> > it's functionality someone actually needs.  The last discussion of
> > those functions was in 2007 and nobody seemed too sure back then
> > either, so maybe the rumor that anyone is actually using this is no
> > more than rumor.
>
> I am pretty sure they are still used. A quick grep on a not too old
> checkout prooves that... Note that the sql accessible functions are
> named currtid and currtid2 (yes, really)...

Ah, yeah, that does show up.  I had grepped for 'currtid_'.  Sorry.
They're all in positioned_load() in results.c.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: is a special cost for external sort?
Next
From: Robert Haas
Date:
Subject: Re: [ODBC] getting rid of SnapshotNow