git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 6ef4ae1) | patch
Make command-line tools smarter about finding a DB to connect to.
Tue, 6 Dec 2011 13:48:15 +0000 (08:48 -0500)
Tue, 6 Dec 2011 13:48:15 +0000 (08:48 -0500)
commit 68281e00540a29e7f9bfc154c25a78b875f560d1
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.
16 files changed:
doc/src/sgml/ref/clusterdb.sgml diff | blob | blame | history
doc/src/sgml/ref/createdb.sgml diff | blob | blame | history
doc/src/sgml/ref/dropdb.sgml diff | blob | blame | history
doc/src/sgml/ref/reindexdb.sgml diff | blob | blame | history
doc/src/sgml/ref/vacuumdb.sgml diff | blob | blame | history
src/bin/scripts/clusterdb.c diff | blob | blame | history
src/bin/scripts/common.c diff | blob | blame | history
src/bin/scripts/common.h diff | blob | blame | history
src/bin/scripts/createdb.c diff | blob | blame | history
src/bin/scripts/createlang.c diff | blob | blame | history
src/bin/scripts/createuser.c diff | blob | blame | history
src/bin/scripts/dropdb.c diff | blob | blame | history
src/bin/scripts/droplang.c diff | blob | blame | history
src/bin/scripts/dropuser.c diff | blob | blame | history
src/bin/scripts/reindexdb.c diff | blob | blame | history
src/bin/scripts/vacuumdb.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /