pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Logical Tape Set: lazily allocate read buffer.
Date: Thu, 13 Feb 2020 18:45:38 +0000
Message-ID: <E1j2JUY-0001ik-Cc@gemulon.postgresql.org> (raw)

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(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1j2JUY-0001ik-Cc@gemulon.postgresql.org>
Permalink:  ../E1j2JUY-0001ik-Cc@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1j2JUY-0001ik-Cc@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: jdavis@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Logical Tape Set: lazily allocate read buffer.
  In-Reply-To: <E1j2JUY-0001ik-Cc@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox