From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Remove obsolete comment in CopyReadLineText(). |
Date: | 2024-04-06 15:16:31 |
Message-ID: | E1rt7mQ-000p83-HQ@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Remove obsolete comment in CopyReadLineText().
When this bit of commentary was written, it was alluding to the
fact that we looked for newlines and EOD markers in the raw
(not yet encoding-converted) input data. We don't do that anymore,
preferring to batch the conversion of larger chunks of input and
split it into lines later. Hence there's no longer any need for
assumptions about the relevant characters being encoding-invariant,
and we should remove this comment saying we assume that.
Discussion: https://postgr.es/m/1461688.1712347668@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/ddd9e43a92417dd0c2b60822d6e75862c73b139a
Modified Files
--------------
src/backend/commands/copyfromparse.c | 3 ---
1 file changed, 3 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2024-04-06 15:47:33 | pgsql: Enhance nbtree ScalarArrayOp execution. |
Previous Message | John Naylor | 2024-04-06 10:17:15 | pgsql: Teach fasthash_accum to use platform endianness for bytewise loa |