Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2c68a07

Browse files
committed
Fix compiler warning
1 parent 7afd420 commit 2c68a07

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/commands/sequence.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1188,8 +1188,9 @@ read_seq_tuple(Relation rel, Buffer *buf, HeapTuple seqdatatuple)
11881188
/* Initialize sequence for global temporary tables */
11891189
Datum value[SEQ_COL_LASTCOL] = {0};
11901190
bool null[SEQ_COL_LASTCOL] = {false};
1191+
HeapTuple tuple;
11911192
value[SEQ_COL_LASTVAL-1] = Int64GetDatumFast(1); /* start sequence with 1 */
1192-
HeapTuple tuple = heap_form_tuple(RelationGetDescr(rel), value, null);
1193+
tuple = heap_form_tuple(RelationGetDescr(rel), value, null);
11931194
fill_seq_with_data(rel, tuple, *buf);
11941195
}
11951196

0 commit comments

Comments
 (0)