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

Commitb5ed4be

Browse files
committed
AIX align fix.
1 parent6f84e86 commitb5ed4be

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
@@ -6,7 +6,7 @@
66
*
77
*
88
* IDENTIFICATION
9-
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.60 1998/09/07 05:35:42 momjian Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.61 1998/09/08 22:15:42 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -661,7 +661,7 @@ CopyFrom(Relation rel, bool binary, bool oids, FILE *fp, char *delim)
661661
}
662662
elseif (nulls[i]!='n')
663663
{
664-
ptr=att_align(ptr,attr[i]->attlen,attr[i]->attalign);
664+
ptr=(char*)att_align(ptr,attr[i]->attlen,attr[i]->attalign);
665665
values[i]= (Datum)ptr;
666666
ptr=att_addlength(ptr,attr[i]->attlen,ptr);
667667
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp