pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Masahiko Sawada <msawada@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Re-export NextCopyFromRawFields() to copy.h.
Date: Fri, 28 Feb 2025 23:12:11 +0000
Message-ID: <E1to9Wd-000CWS-2f@gemulon.postgresql.org> (raw)

Re-export NextCopyFromRawFields() to copy.h.

Commit 7717f630069 removed NextCopyFromRawFields() from copy.h. While
it was hoped that NextCopyFrom() could serve as an alternative,
certain use cases still require NextCopyFromRawFields(). For instance,
extensions like file_text_array_fdw, which process source data with an
unknown number of columns, rely on this function.

Per buildfarm member crake.

Reported-by: Andrew Dunstan <andrew@dunslane.net>
Reviewed-by: Andrew Dunstan <andrew@dunslane.net>
Reviewed-by: Sutou Kouhei <kou@clear-code.com>
Discussion: https://postgr.es/m/5c7e1ac8-5083-4c08-af19-cb9ade2f16ce@dunslane.net

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8a1012b35d6123d8ee1818fce68f435459e297b7

Modified Files
--------------
src/backend/commands/copyfromparse.c | 28 +++++++++++++++++++++++-----
src/include/commands/copy.h          |  2 ++
2 files changed, 25 insertions(+), 5 deletions(-)



Message-ID: <E1to9Wd-000CWS-2f@gemulon.postgresql.org>
Permalink:  ../E1to9Wd-000CWS-2f@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1to9Wd-000CWS-2f@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: msawada@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Re-export NextCopyFromRawFields() to copy.h.
  In-Reply-To: <E1to9Wd-000CWS-2f@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