cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.11k stars 3.81k forks source link

sql: support `support ALTER TABLE ... ALTER COLUMN ... RESTART WITH ... #110015

Open giangpham712 opened 1 year ago

giangpham712 commented 1 year ago

Is your feature request related to a problem? Please describe. support `support ALTER TABLE ... ALTER COLUMN ... RESTART WITH ...

Example

ALTER TABLE "People" ALTER COLUMN "Id" SET INCREMENT BY 2

PostgreSQL syntax

ALTER [ COLUMN ] column_name { SET GENERATED { ALWAYS | BY DEFAULT } | SET sequence_option | RESTART [ [ WITH ] restart ] } [...]

Additional context This affects efcore.pg tests

@fqazi

Jira issue: CRDB-31223

blathers-crl[bot] commented 1 year ago

Hello, I am Blathers. I am here to help you get the issue triaged.

I have CC'd a few people who may be able to assist you:

If we have not gotten back to your issue within a few business days, you can try the following:

:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.