Skip to content

Commit f793ac0

Browse files
committed
Update psql display.
1 parent 3b004b8 commit f793ac0

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/05 00:57:39 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.16 1999/11/05 15: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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy