mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Update psql startup banner to be shorter, suggest "help" for help.
Add a few "help" entries. Move \g help entry into "General". Update psql version mismatch warning text. Joshua D. Drake
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.205 2008/05/16 16:59:05 momjian Exp $
|
||||
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.206 2008/05/16 17:17:00 momjian Exp $
|
||||
PostgreSQL documentation
|
||||
-->
|
||||
|
||||
@ -571,13 +571,10 @@ $ <userinput>psql "service=myservice sslmode=require"</userinput>
|
||||
the string <literal>=></literal>. For example:
|
||||
<programlisting>
|
||||
$ <userinput>psql testdb</userinput>
|
||||
Welcome to psql &version;, the PostgreSQL interactive terminal.
|
||||
psql (&version;)
|
||||
Type "help" for help.
|
||||
|
||||
Type: \copyright for distribution terms
|
||||
\h for help with SQL commands
|
||||
\? for help with psql commands
|
||||
\g or terminate with semicolon to execute query
|
||||
\q to quit
|
||||
test=>
|
||||
|
||||
testdb=>
|
||||
</programlisting>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/start.sgml,v 1.46 2008/01/23 02:04:47 tgl Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/start.sgml,v 1.47 2008/05/16 17:17:00 momjian Exp $ -->
|
||||
|
||||
<chapter id="tutorial-start">
|
||||
<title>Getting Started</title>
|
||||
@ -329,13 +329,8 @@ createdb: database creation failed: ERROR: permission denied to create database
|
||||
In <command>psql</command>, you will be greeted with the following
|
||||
message:
|
||||
<screen>
|
||||
Welcome to psql &version;, the PostgreSQL interactive terminal.
|
||||
|
||||
Type: \copyright for distribution terms
|
||||
\h for help with SQL commands
|
||||
\? for help with psql commands
|
||||
\g or terminate with semicolon to execute query
|
||||
\q to quit
|
||||
psql (&version;)
|
||||
Type "help" for help.
|
||||
|
||||
mydb=>
|
||||
</screen>
|
||||
|
Reference in New Issue
Block a user