Skip to content

[KEYS-1166] pg create/update accept --connection-pool=none/pgbouncer#46

Open
breel-render wants to merge 2 commits into
render-oss:mainfrom
breel-render:breel/keys-1166
Open

[KEYS-1166] pg create/update accept --connection-pool=none/pgbouncer#46
breel-render wants to merge 2 commits into
render-oss:mainfrom
breel-render:breel/keys-1166

Conversation

@breel-render

Copy link
Copy Markdown

Summary

Extend the pg get, update commands with --connection-pool

Motivation

https://linear.app/render-com/issue/KEYS-1166/opt-in-field-via-cli

How to verify

$ go run ./ pg get dpg-xyz-a
...
Connection pool: none
...

$ go run ./ pg update dpg-xyz-a --connection-pool=pgbouncer
Updated Postgres database

Changes:
  Connection pool:    none → pgbouncer
...

 $ go run ./ pg update dpg-xyz-a --connection-pool=none
Updated Postgres database

Changes:
  Connection pool:    pgbouncer → none
...

$ go run ./ pg get dpg-xyz-a
...
Connection pool: pgbouncer
...

Release notes

Manage the Render Postgres Connection Pool state

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