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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 23a1f01) | patch
Rewrite much of psql's \connect code, for the sake of code clarity and
Sun, 2 Apr 2006 20:08:22 +0000 (20:08 +0000)
Sun, 2 Apr 2006 20:08:22 +0000 (20:08 +0000)
commit 7815ca7bef0e5d0218e003d6bd0de7e1ebbb24c1
Rewrite much of psql's \connect code, for the sake of code clarity and
to fix regressions introduced in the recent patch adding additional
\connect options. This is based on work by Volkan YAZICI, although
this version of the patch doesn't bear much resemblance to Volkan's
version.

\connect takes 4 optional arguments: database name, user name, host
name, and port number. If any of those parameters are omitted or
specified as "-", the value of that parameter from the previous
connection is used instead; if there is no previous connection,
the libpq default is used. Note that this behavior makes it
impossible to reuse the libpq defaults without quitting psql and
restarting it; I don't really see the use case for needing to do
that.
doc/src/sgml/ref/psql-ref.sgml diff | blob | blame | history
src/bin/psql/command.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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