projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
756d450
)
Improve readline psql prompt suggestion.
author
Bruce Momjian
Tue, 3 Oct 2006 21:14:46 +0000
(21:14 +0000)
committer
Bruce Momjian
Tue, 3 Oct 2006 21:14:46 +0000
(21:14 +0000)
Andreas Seltenreich
doc/src/sgml/ref/psql-ref.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/ref/psql-ref.sgml
b/doc/src/sgml/ref/psql-ref.sgml
index 2d924b4fb5b78cc634be863ecc9f20dae0b1e306..15f5d7424e844539a1b4783c64c68a4a98eb2f02 100644
(file)
--- a/
doc/src/sgml/ref/psql-ref.sgml
+++ b/
doc/src/sgml/ref/psql-ref.sgml
@@
-1,5
+1,5
@@
@@
-2491,7
+2491,7
@@
testdb=>
\set content '''' `sed -e "s/'/''/g" -e 's/\\/\\\\/g' <
%]
. Multiple pairs of these may occur within
the prompt. For example,
-testdb=> \set PROMPT1 '%[%033[1;33;40m%]%n@%/%R%[%033[0m%
#%]
'
+testdb=> \set PROMPT1 '%[%033[1;33;40m%]%n@%/%R%[%033[0m%
]%#
'
results in a boldfaced (
1;
) yellow-on-black
(
33;40
) prompt on VT100-compatible, color-capable