mirror of https://github.com/citusdata/citus.git
Increment command counter after altering sequence type
parent
5ae0974f38
commit
f9a6d11e08
|
@ -652,6 +652,11 @@ AlterSequenceType(Oid seqOid, Oid typeOid)
|
|||
SetDefElemArg(alterSequenceStatement, "as", asTypeNode);
|
||||
ParseState *pstate = make_parsestate(NULL);
|
||||
AlterSequence(pstate, alterSequenceStatement);
|
||||
|
||||
/*
|
||||
* Make sure later reads in this transaction read the correct type.
|
||||
*/
|
||||
CommandCounterIncrement();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue