mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
AIX align fix.
This commit is contained in:
parent
6f84e86d69
commit
b5ed4be218
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.60 1998/09/07 05:35:42 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.61 1998/09/08 22:15:42 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -661,7 +661,7 @@ CopyFrom(Relation rel, bool binary, bool oids, FILE *fp, char *delim)
|
|||||||
}
|
}
|
||||||
else if (nulls[i] != 'n')
|
else if (nulls[i] != 'n')
|
||||||
{
|
{
|
||||||
ptr = att_align(ptr, attr[i]->attlen, attr[i]->attalign);
|
ptr = (char *)att_align(ptr, attr[i]->attlen, attr[i]->attalign);
|
||||||
values[i] = (Datum) ptr;
|
values[i] = (Datum) ptr;
|
||||||
ptr = att_addlength(ptr, attr[i]->attlen, ptr);
|
ptr = att_addlength(ptr, attr[i]->attlen, ptr);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user