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

Adds S3 GUCs #81

Open
wants to merge 1 commit into
base: aykut/match_by_position
Choose a base branch
from

Conversation

aykut-bozkurt
Copy link
Collaborator

To make it more Postgres way, we define 3 s3 related GUCs.

  • pg_parquet.aws_config_file: an absolute path to the configuration file used by s3 client. Note that when set, the GUC overrides AWS_CONFIG_FILE environment variable. By default the GUC is unset,
  • pg_parquet.aws_shared_credentials_file: an absolute path to the shared credentials file used by s3 client. Note that when set, the GUC overrides AWS_SHARED_CREDENTIALS_FILE environment variable. By default the GUC is unset,
  • pg_parquet.aws_profile: the profile name used by s3 client. Note that when set, the GUC overrides AWS_PROFILE environment variable. By default the GUC is unset.

These GUCs can only be set by a superuser. You can easily set these GUCs to use different configurations per session. You do not need to restart your session to change the config file, shared credentials file or profile name.

Closes #70.

To make it more Postgres way, we define 3 s3 related GUCs.

- `pg_parquet.aws_config_file`: an absolute path to the configuration file used by s3 client. Note that when set,
   the GUC overrides `AWS_CONFIG_FILE` environment variable. By default the GUC is unset,
- `pg_parquet.aws_shared_credentials_file`: an absolute path to the shared credentials file used by s3 client.
   Note that when set, the GUC overrides `AWS_SHARED_CREDENTIALS_FILE` environment variable. By default the GUC is unset,
- `pg_parquet.aws_profile`: the profile name used by s3 client. Note that when set, the GUC overrides `AWS_PROFILE`
   environment variable. By default the GUC is unset.

These GUCs can only be set by a superuser. You can easily set these GUCs to use different configurations per session.
You do not need to restart your session to change the config file, shared credentials file or profile name.

Closes #70.
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 this pull request may close these issues.

1 participant