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

Commit21f9a65

Browse files
committed
Fix bug in COPY FROM when DELIMITER is not in ASCII range.
See pgsql-bugs/pgsql-hackers discussion "COPY FROM is not 8bit clean"around 2002/02/26 for more details -- Tatsuo Ishii
1 parent56ee2ec commit21f9a65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/commands/copy.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.148 2002/02/24 02:33:33 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.149 2002/02/27 01:34:41 ishii Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1041,7 +1041,7 @@ static char *
10411041
CopyReadAttribute(FILE*fp,bool*isnull,char*delim,int*newline,char*null_print)
10421042
{
10431043
intc;
1044-
intdelimc=delim[0];
1044+
intdelimc=(unsignedchar)delim[0];
10451045

10461046
#ifdefMULTIBYTE
10471047
intmblen;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp