Skip to content

Commit 5e3189e

Browse files
committed
Update psql banner
1 parent e9a5030 commit 5e3189e

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

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

Lines changed: 6 additions & 6 deletions
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.16 1999/11/05 15:44:56 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.17 1999/11/05 18:21:08 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -133,11 +133,11 @@ Postgres documentation
133133
$ <userinput>psql testdb</userinput>
134134
Welcome to psql, the PostgreSQL interactive terminal.
135135

136-
Type \copyright for distribution terms
137-
\h for help with SQL commands
138-
\? for help on internal slash commands
139-
\g or terminate with semicolon to execute query
140-
\q to quit
136+
Type: \copyright for distribution terms
137+
\h for help with SQL commands
138+
\? for help on internal slash commands
139+
\g or terminate with semicolon to execute query
140+
\q to quit
141141

142142
testdb=>
143143
</programlisting>

src/bin/psql/startup.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,15 +177,15 @@ 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\n");
180+
puts("Welcome to psql, the PostgreSQL interactive terminal.\n");
181181

182182
//showVersion(&settings, false);
183183

184-
puts("Type \\copyright for distribution terms\n"
185-
" \\h for help with SQL commands\n"
186-
" \\? for help on internal slash commands\n"
187-
" \\g or terminate with semicolon to execute query\n"
188-
" \\q to quit\n");
184+
puts("Type: \\copyright for distribution terms\n"
185+
" \\h for help with SQL commands\n"
186+
" \\? for help on internal slash commands\n"
187+
" \\g or terminate with semicolon to execute query\n"
188+
" \\q to quit\n");
189189
}
190190

191191
process_psqlrc(&settings);

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