Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9e23cd6

Browse files
committed
Improve readline psql prompt suggestion.
Andreas Seltenreich
1 parent756d450 commit9e23cd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎doc/src/sgml/ref/psql-ref.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.169 2006/09/16 00:30:19 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.170 2006/10/03 21:14:46 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -2491,7 +2491,7 @@ testdb=&gt; <userinput>\set content '''' `sed -e "s/'/''/g" -e 's/\\/\\\\/g' &lt
24912491
<literal>%]</literal>. Multiple pairs of these may occur within
24922492
the prompt. For example,
24932493
<programlisting>
2494-
testdb=&gt; \set PROMPT1 '%[%033[1;33;40m%]%n@%/%R%[%033[0m%#%] '
2494+
testdb=&gt; \set PROMPT1 '%[%033[1;33;40m%]%n@%/%R%[%033[0m%]%# '
24952495
</programlisting>
24962496
results in a boldfaced (<literal>1;</literal>) yellow-on-black
24972497
(<literal>33;40</literal>) prompt on VT100-compatible, color-capable

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp