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

Commit2a225eb

Browse files
Jan WieckJan Wieck
Jan Wieck
authored and
Jan Wieck
committed
Bugfix. If toasted tuple containted NULLs, DataFill() was handed
a wrong pointer causing the bitmap overwriting the tuple header.Jan
1 parent8ecac94 commit2a225eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/access/heap/tuptoaster.c

Lines changed: 2 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/access/heap/tuptoaster.c,v 1.5 2000/07/03 23:09:19 wieck Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/heap/tuptoaster.c,v 1.6 2000/07/06 18:22:45 wieck Exp $
1212
*
1313
*
1414
* INTERFACE ROUTINES
@@ -619,7 +619,7 @@ toast_insert_or_update(Relation rel, HeapTuple newtup, HeapTuple oldtup)
619619
toast_values,
620620
toast_nulls,
621621
&(newtup->t_data->t_infomask),
622-
HeapTupleNoNulls(newtup) ?NULL :new_data);
622+
has_nulls ?newtup->t_data->t_bits :NULL);
623623

624624
/* ----------
625625
* In the case we modified a previously modified tuple again,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp