## Bug Report In src/backend/commands/sequence.c: init_param() function, there is following code: else if(strcmp(defel->defname, "shard_extend") == 0 || strcmp(defel->defname, "shard_noextend") == 0 || strcmp(defel->defname, "noshard") == 0) { shardcnt++; if(keepcnt > 1) { ereport(ERROR, (errcode(ERRCODE_SYNTAX_ERROR), errmsg("dumplicate or conflicting SHARD EXTEND/NOEXTEND specifications"), parser_errposition(pstate, defel->location))); } } Obviously the shardcnt instead of keepcnt should be used to be compared to 1. ### IvorySQL Version IvorySQL master branch ### OS Version (uname -a) N/A ### Configuration options ( config.status --config ) ### Current Behavior ### Expected behavior/code ### Step to reproduce ### Additional context that can be helpful for identifying the problem
Activity
bigplaice commentedon Jul 15, 2026
addressed by PR #1401