Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ALTER DATABASE statement #131

Closed
apstndb opened this issue Oct 1, 2024 · 0 comments · Fixed by #161
Closed

Support ALTER DATABASE statement #131

apstndb opened this issue Oct 1, 2024 · 0 comments · Fixed by #161

Comments

@apstndb
Copy link
Contributor

apstndb commented Oct 1, 2024

ALTER DATABASE statement is not yet supported.

https://cloud.google.com/spanner/docs/reference/standard-sql/data-definition-language#alter-database

ALTER DATABASE database_id
    action

where database_id is:
    {a—z}[{a—z|0—9|_|-}+]{a—z|0—9}

and action is:
    SET OPTIONS ( options_def [, ... ] )

and options_def is:
    { default_leader = { 'region' | null } |
      optimizer_version = { 1 ... 7 | null } |
      optimizer_statistics_package = { 'package_name' | null } |
      version_retention_period = { 'duration' | null } }

Related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant