Re: why does enum_endpoint call GetTransactionSnapshot()?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: why does enum_endpoint call GetTransactionSnapshot()?
Дата
Msg-id CA+TgmoZL8CX4Sy++SnhLKnV2t5_kDv3U3s=UzpOpckyMNg9L9w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: why does enum_endpoint call GetTransactionSnapshot()?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: why does enum_endpoint call GetTransactionSnapshot()?  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Sat, Feb 14, 2015 at 5:12 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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()?

I noticed that one after hitting send.  I think we should change them both.

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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: why does enum_endpoint call GetTransactionSnapshot()?
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: restrict global access to be readonly