Skip to content
Snippets Groups Projects
Commit 68281e00 authored by Robert Haas's avatar Robert Haas
Browse files

Make command-line tools smarter about finding a DB to connect to.

If unable to connect to "postgres", try "template1".  This allows things to
work more smoothly in the case where the postgres database has been
dropped.  And just in case that's not good enough, also allow the user to
specify a maintenance database to be used for the initial connection, to
cover the case where neither postgres nor template1 is suitable.
parent 6ef4ae1d
No related branches found
No related tags found
No related merge requests found
Showing with 188 additions and 36 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment