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

set session variable to default #10786

Closed
lmatz opened this issue Jul 6, 2023 · 2 comments
Closed

set session variable to default #10786

lmatz opened this issue Jul 6, 2023 · 2 comments
Labels
difficulty/simple Issues that relatively easy and friendly to newcomers. good first issue Good for newcomers help wanted Issues that need help from contributors type/feature
Milestone

Comments

@lmatz
Copy link
Contributor

lmatz commented Jul 6, 2023

Is your feature request related to a problem? Please describe.

https://www.postgresql.org/docs/current/sql-set.html

dev=> show batch_parallelism;
 batch_parallelism 
-------------------
 0
(1 row)

dev=> set batch_parallelism to 3;
SET_VARIABLE
dev=> show batch_parallelism;
 batch_parallelism 
-------------------
 3
(1 row)

dev=> set batch_parallelism to default;
ERROR:  QueryError: Invalid value ["DEFAULT"] for ["BATCH_PARALLELISM"]
dev=> set batch_parallelism to 'default';
ERROR:  QueryError: Invalid value ["default"] for ["BATCH_PARALLELISM"]
dev=> set batch_parallelism to "default";
ERROR:  QueryError: Invalid value ["default"] for ["BATCH_PARALLELISM"]

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

@github-actions github-actions bot added this to the release-0.20 milestone Jul 6, 2023
@lmatz
Copy link
Contributor Author

lmatz commented Jul 6, 2023

I feel that being able to revert to the previous configuration is also useful

@lmatz lmatz added good first issue Good for newcomers help wanted Issues that need help from contributors difficulty/simple Issues that relatively easy and friendly to newcomers. labels Jul 6, 2023
@xiangjinwu
Copy link
Contributor

xiangjinwu commented Jul 6, 2023

#8851

@lmatz lmatz closed this as not planned Won't fix, can't repro, duplicate, stale Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/simple Issues that relatively easy and friendly to newcomers. good first issue Good for newcomers help wanted Issues that need help from contributors type/feature
Projects
None yet
Development

No branches or pull requests

2 participants