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 default user session settings #89

Open
Olaktal opened this issue Oct 25, 2022 · 1 comment
Open

Support default user session settings #89

Olaktal opened this issue Oct 25, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Olaktal
Copy link

Olaktal commented Oct 25, 2022

Hello

Using Redshift Spectrum, we'd like all users to be able to parse json so we need to enable the following session settings to all users:

ALTER USER XXXX SET json_serialization_enable TO true;
ALTER USER XXXX SET json_serialization_parse_nested_strings TO true;
ALTER USER XXXX SET enable_case_sensitive_identifier TO true;

Right now we do it manually but we would like to handle it with your module but it seems like it cannot be handle with the resource redshift_user.
Is there any workaround ? If not, is anyone able to develop this feature please ? 🙏

Thanks !
Vincent

@Olaktal
Copy link
Author

Olaktal commented Oct 25, 2022

FYI the session settings seem to be stored in the following column

select useconfig, * from pg_user

@winglot winglot added the enhancement New feature or request label Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants