Unsure of impact of --username and --dbname #927
-
Hi! I'm probably being dense but...
I can see that passing these options will alter the
Would be grateful for any guidance. I can potentially improve the docs (for anyone else confused in the same way I am) once I understand more! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
So we set up pg_auto_failover with the default From what I can tell, the |
Beta Was this translation helpful? Give feedback.
-
Hi @jamielinux ; the --username and --dbname options are indeed for convenience, and have security implications too so some people might want to make sure to harden then in a way to avoid creating spurious entries there. Also, when using Citus it's important to pick the target database your application will actually use, because of maintenance operations that are only implemented in that database at failover time (calling |
Beta Was this translation helpful? Give feedback.
Hi @jamielinux ; the --username and --dbname options are indeed for convenience, and have security implications too so some people might want to make sure to harden then in a way to avoid creating spurious entries there. Also, when using Citus it's important to pick the target database your application will actually use, because of maintenance operations that are only implemented in that database at failover time (calling
citus_update_node
is only supported for a single Citus database in a pg_autoctl formation).