generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
The sample for psycopg 3 generates a token on every connection attempt. It should also show how to create a ConnectionPool that works with token refresh.
A caveat: psycopg/psycopg#851 indicates the entire connection pool must be recreated to update the connection string. There's agreement that credentials should be refreshed without recreating the pool work hasn't been started.