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

Commitf793ac0

Browse files
committed
Update psql display.
1 parent3b004b8 commitf793ac0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.15 1999/11/0500:57:39 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.16 1999/11/0515:44:56 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -132,6 +132,7 @@ Postgres documentation
132132
<programlisting>
133133
$ <userinput>psql testdb</userinput>
134134
Welcome to psql, the PostgreSQL interactive terminal.
135+
135136
Type \copyright for distribution terms
136137
\h for help with SQL commands
137138
\? for help on internal slash commands

‎src/bin/psql/startup.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,12 @@ main(int argc, char **argv)
177177

178178
if (!GetVariable(settings.vars,"quiet")&& !settings.notty&& !options.action)
179179
{
180-
puts("Welcome to psql, the PostgreSQL interactive terminal.\n"
181-
"Type \\copyright for distribution terms");
180+
puts("Welcome to psql, the PostgreSQL interactive terminal.\n\n");
182181

183182
//showVersion(&settings, false);
184183

185-
puts(" \\h for help with SQL commands\n"
184+
puts("Type \\copyright for distribution terms\n"
185+
" \\h for help with SQL commands\n"
186186
" \\? for help on internal slash commands\n"
187187
" \\g or terminate with semicolon to execute query\n"
188188
" \\q to quit\n");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp