parent
79e5de690e
commit
7f1bb1d734
|
@ -458,7 +458,7 @@ AlterSequence(ParseState *pstate, AlterSeqStmt *stmt)
|
||||||
/* lock page's buffer and read tuple into new sequence structure */
|
/* lock page's buffer and read tuple into new sequence structure */
|
||||||
(void) read_seq_tuple(seqrel, &buf, &datatuple);
|
(void) read_seq_tuple(seqrel, &buf, &datatuple);
|
||||||
|
|
||||||
/* copy the existing sequence data tuple, so it can be modified localy */
|
/* copy the existing sequence data tuple, so it can be modified locally */
|
||||||
newdatatuple = heap_copytuple(&datatuple);
|
newdatatuple = heap_copytuple(&datatuple);
|
||||||
newdataform = (Form_pg_sequence_data) GETSTRUCT(newdatatuple);
|
newdataform = (Form_pg_sequence_data) GETSTRUCT(newdatatuple);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue