Re: why does enum_endpoint call GetTransactionSnapshot()? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: why does enum_endpoint call GetTransactionSnapshot()?
Date
Msg-id 13533.1423951962@sss.pgh.pa.us
Whole thread Raw
In response to why does enum_endpoint call GetTransactionSnapshot()?  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: why does enum_endpoint call GetTransactionSnapshot()?  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I think this is probably a holdover from before the death of
> SnapshotNow, and that we should just pass NULL to
> systable_beginscan_ordered() here, the same as we do for other catalog
> accesses.  Barring objections, I'll go make that change.

Seems reasonable to me, but why are you only looking at that one and
not the identical code in enum_range_internal()?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: INSERT ... ON CONFLICT {UPDATE | IGNORE} 2.0
Next
From: Robert Haas
Date:
Subject: Re: why does enum_endpoint call GetTransactionSnapshot()?