pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Refactor CopyOneRowTo
Date: Fri, 16 Aug 2024 11:05:25 +0000
Message-ID: <E1seulp-004QIH-Of@gemulon.postgresql.org> (raw)

Refactor CopyOneRowTo

The handling of binary and text formats are quite different here, so
it's more clear to check for the format first and have two separate
loops.

Author: jian he <jian.universality@gmail.com>
Reviewed-by: Ilia Evdokimov, Junwang Zhao
Discussion: https://www.postgresql.org/message-id/CACJufxFzHCeFBQF0M%2BSgk_NwknWuQ4oU7tS1isVeBrbhcKOHkg@mail.gma...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3943da46bc54006ec4849bc7541cf4e674b700eb

Modified Files
--------------
src/backend/commands/copyto.c | 39 ++++++++++++++++++++-------------------
1 file changed, 20 insertions(+), 19 deletions(-)



Message-ID: <E1seulp-004QIH-Of@gemulon.postgresql.org>
Permalink:  ../E1seulp-004QIH-Of@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1seulp-004QIH-Of@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: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Refactor CopyOneRowTo
  In-Reply-To: <E1seulp-004QIH-Of@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