pgsql: Re-export NextCopyFromRawFields() to copy.h.

From: Masahiko Sawada <msawada(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Re-export NextCopyFromRawFields() to copy.h.
Date: 2025-02-28 23:12:11
Message-ID: E1to9Wd-000CWS-2f@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)dunslane(dot)net>
Reviewed-by: Andrew Dunstan <andrew(at)dunslane(dot)net>
Reviewed-by: Sutou Kouhei <kou(at)clear-code(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Masahiko Sawada 2025-02-28 23:35:03 Re: pgsql: Refactor COPY FROM to use format callback functions.
Previous Message Andrew Dunstan 2025-02-28 23:06:39 Re: pgsql: Refactor COPY FROM to use format callback functions.