Re-export NextCopyFromRawFields() to copy.h.
authorMasahiko Sawada <msawada@postgresql.org>
Fri, 28 Feb 2025 23:11:41 +0000 (15:11 -0800)
committerMasahiko Sawada <msawada@postgresql.org>
Fri, 28 Feb 2025 23:11:41 +0000 (15:11 -0800)
commit8a1012b35d6123d8ee1818fce68f435459e297b7
tree2461a5d8e6005cd81629465e3b0385317800ad79
parente636da92002857c24f8b66b6ac4a47ff91803c06
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
src/backend/commands/copyfromparse.c
src/include/commands/copy.h