You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we can create and delete a sequence but we cannot alter it.
This is especially important for our sequences implementation because we want users to not use SERIAL types but instead its equivalent using a large value for CACHE:
CREATE SEQUENCE tablename_colname_seq CACHE 100000;
CREATE TABLE tablename (
colname integer NOT NULL DEFAULT nextval('tablename_colname_seq')
);
ALTER SEQUENCE tablename_colname_seq OWNED BY tablename.colname;
The text was updated successfully, but these errors were encountered:
Summary: This diff enables support for ALTER SEQUENCE
Test Plan: New unit tests
Reviewers: mihnea, robert
Reviewed By: robert
Subscribers: yql
Differential Revision: https://phabricator.dev.yugabyte.com/D6337
Currently we can create and delete a sequence but we cannot alter it.
This is especially important for our sequences implementation because we want users to not use SERIAL types but instead its equivalent using a large value for CACHE:
The text was updated successfully, but these errors were encountered: