Re: Improving connection scalability: GetSnapshotData()

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Improving connection scalability: GetSnapshotData()
Дата
Msg-id 20200817200940.GA8323@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Improving connection scalability: GetSnapshotData()  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-hackers
On 2020-Aug-16, Peter Geoghegan wrote:

> On Sun, Aug 16, 2020 at 2:11 PM Andres Freund <andres@anarazel.de> wrote:
> > For the first, one issue is that there's no obviously good candidate for
> > an uninitialized xid. We could use something like FrozenTransactionId,
> > which may never be in the procarray. But it's not exactly pretty.
> 
> Maybe it would make sense to mark the fields as inaccessible or
> undefined to Valgrind. That has advantages and disadvantages that are
> obvious.

... and perhaps making Valgrind complain about it is sufficient.

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



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: run pgindent on a regular basis / scripted manner
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [BUG] Error in BRIN summarization