pgsql: Logical Tape Set: lazily allocate read buffer.

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема pgsql: Logical Tape Set: lazily allocate read buffer.
Дата
Msg-id E1j2JUY-0001ik-Cc@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Logical Tape Set: lazily allocate read buffer.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Logical Tape Set: lazily allocate read buffer.

The write buffer was already lazily-allocated, so this is more
symmetric. It also means that a freshly-rewound tape (whether for
reading or writing) is not consuming memory for the buffer.

Discussion: https://postgr.es/m/97c46a59c27f3c38e486ca170fcbc618d97ab049.camel%40j-davis.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7fdd919ae7550f478e7ae4031f7f439278cf2282

Modified Files
--------------
src/backend/utils/sort/logtape.c | 43 +++++++++++++++++++++++++++++++++-------
1 file changed, 36 insertions(+), 7 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Avoid a performance regression in float overflow/underflow detec
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Mark some contrib modules as "trusted".