You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Supavisor will continuously attempt to connect to a database even when that database doesn't exist. However, the client doesn't get the proper error feedback that database doesn't exist. See screen recording:
Screen.Recording.2024-01-12.at.17.30.06.mov
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
psql into a database that doesn't exist.
Expected behavior
Some sort of client error that clearly spells out there was an issue connecting to a database that doesn't exist.
Supavisor needs to stop doing additional work (following is repeated over and over):
16:22:27.870 [error] Error auth response ["SFATAL", "VFATAL", "C3D000", "Mdatabase \"bad\" does not exist", "Fpostinit.c", "L885", "RInitPostgres"] file=lib/supavisor/db_handler.ex line=227 pid=<0.987.0> project=dev_tenant user=postgres mode=transaction
16:22:27.870 [error] Connection closed when state was authentication file=lib/supavisor/db_handler.ex line=348 pid=<0.984.0> project=dev_tenant user=postgres mode=transaction
16:22:27.870 [error] Connection closed when state was authentication file=lib/supavisor/db_handler.ex line=348 pid=<0.987.0> project=dev_tenant user=postgres mode=transaction
The text was updated successfully, but these errors were encountered:
w3b6x9
changed the title
Incorrect response when database on Postgres instance doesn't exist
Incorrect client response when database on Postgres instance doesn't exist
Jan 17, 2024
Bug report
Describe the bug
Supavisor will continuously attempt to connect to a database even when that database doesn't exist. However, the client doesn't get the proper error feedback that database doesn't exist. See screen recording:
Screen.Recording.2024-01-12.at.17.30.06.mov
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
psql
into a database that doesn't exist.Expected behavior
Some sort of client error that clearly spells out there was an issue connecting to a database that doesn't exist.
Supavisor needs to stop doing additional work (following is repeated over and over):
The text was updated successfully, but these errors were encountered: