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

Commit9aa7e89

Browse files
committed
Ok. I found an align problem in lobj that might not appear other than
Solaris/sparc. Please apply included patches tosrc/backend/storage/large_object/inv_api.c and try again. (These areTatsuo Ishii
1 parentbcfdc9d commit9aa7e89

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/storage/large_object/inv_api.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/storage/large_object/inv_api.c,v 1.49 1999/02/13 23:18:20 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/storage/large_object/inv_api.c,v 1.50 1999/02/22 16:46:43 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -998,10 +998,11 @@ inv_newtuple(LargeObjectDesc *obj_desc,
998998

999999
/* compute tuple size -- no nulls */
10001000
hoff= offsetof(HeapTupleHeaderData,t_bits);
1001+
hoff=DOUBLEALIGN(hoff);
10011002

10021003
/* add in olastbyte, varlena.vl_len, varlena.vl_dat */
10031004
tupsize=hoff+ (2*sizeof(int32))+nwrite;
1004-
tupsize=LONGALIGN(tupsize);
1005+
tupsize=DOUBLEALIGN(tupsize);
10051006

10061007
/*
10071008
* Allocate the tuple on the page, violating the page abstraction.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp