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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 4b99fed) | patch
psql: Add more information about service name
2024年12月18日 06:16:12 +0000 (15:16 +0900)
2024年12月18日 06:16:12 +0000 (15:16 +0900)
commit 477728b5d6fa16461b81cd22b0568fec1eab97ac
psql: Add more information about service name

This commit adds support for the following items in psql, able to show a
service name, when available:
- Variable SERVICE.
- Substitution %s in PROMPT{1,2,3}.

This relies on 4b99fed7541e, that has made the service name available in
PGconn for libpq.

Author: Michael Banck
Reviewed-by: Greg Sabino Mullane
Discussion: https://postgr.es/m/6723c612.050a0220.1567f4.b94a@mx.google.com
doc/src/sgml/ref/psql-ref.sgml diff | blob | blame | history
src/bin/psql/command.c diff | blob | blame | history
src/bin/psql/prompt.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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