Re: [HACKERS] getting rid of SnapshotNow

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, pgsql-odbc(at)postgresql(dot)org
Subject: Re: [HACKERS] getting rid of SnapshotNow
Date: 2013-07-18 16:25:08
Message-ID: 20130718162508.GP4165@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-odbc

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(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2013-07-18 16:45:08 Re: [ODBC] getting rid of SnapshotNow
Previous Message Pavel Stehule 2013-07-18 16:14:41 is a special cost for external sort?

Browse pgsql-odbc by date

  From Date Subject
Next Message Robert Haas 2013-07-18 16:45:08 Re: [ODBC] getting rid of SnapshotNow
Previous Message Barry Bell 2013-07-18 16:16:01 UNICODE driver vs ANSI Driver