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

feat: set search_path to include pgstac for eoapi user #111

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

hrodmn
Copy link
Contributor

@hrodmn hrodmn commented Dec 5, 2024

⚠️ Checklist if your PR is changing anything else than documentation

  • Posted the link to a successful manually triggered deployment workflow (successful including the resources destruction)

Merge request description

Adding pgstac to the search_path for the eoapi database user makes it possible to use pgbouncer as a connection pooler for applications that connect to the pgstac database. Without setting this for the user it is impossible to use pgbouncer because it does not allow a client to specify options like search_path or application_name with the connection string.

successful deployment action: https://github.com/developmentseed/eoapi-cdk/actions/runs/12189254944/job/34004022350

@hrodmn hrodmn force-pushed the feature/set-search-path branch from 5561550 to ac2835b Compare December 5, 2024 22:37
@hrodmn hrodmn changed the title set search_path to include pgstac for eoapi user feat: set search_path to include pgstac for eoapi user Dec 5, 2024
@hrodmn hrodmn force-pushed the feature/set-search-path branch from ac2835b to f1dd684 Compare December 5, 2024 22:44
@hrodmn hrodmn merged commit 0470dcf into main Dec 10, 2024
7 checks passed
@hrodmn hrodmn deleted the feature/set-search-path branch December 10, 2024 12:28
github-actions bot pushed a commit that referenced this pull request Dec 10, 2024
# [7.3.0](v7.2.1...v7.3.0) (2024-12-10)

### Bug Fixes

* update units for effectiveCacheSize and tempBuffers ([#112](#112)) ([2e3d728](2e3d728))

### Features

* set search_path to include pgstac for eoapi user ([#111](#111)) ([0470dcf](0470dcf))
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.

2 participants