Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitddd9e43

Browse files
committed
Remove obsolete comment in CopyReadLineText().
When this bit of commentary was written, it was alluding to thefact 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 andsplit it into lines later. Hence there's no longer any need forassumptions 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
1 parenta365d9e commitddd9e43

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

‎src/backend/commands/copyfromparse.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,9 +1206,6 @@ CopyReadLineText(CopyFromState cstate)
12061206
* value and are put in line_buf. We keep just enough state to know if we
12071207
* are currently in a quoted field or not.
12081208
*
1209-
* These four characters, and the CSV escape and quote characters, are
1210-
* assumed the same in frontend and backend encodings.
1211-
*
12121209
* The input has already been converted to the database encoding. All
12131210
* supported server encodings have the property that all bytes in a
12141211
* multi-byte sequence have the high bit set, so a multibyte character

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp