Update psql display.
authorBruce Momjian <bruce@momjian.us>
Fri, 5 Nov 1999 15:44:57 +0000 (15:44 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 5 Nov 1999 15:44:57 +0000 (15:44 +0000)
doc/src/sgml/ref/psql-ref.sgml
src/bin/psql/startup.c

index 4c9aba6f0a9850dd2542d3b7c957117cc74166f0..b3a350bf982fa1c44ab525baaf37fa7232786193 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.15 1999/11/05 00:57:39 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.16 1999/11/05 15:44:56 momjian Exp $
 Postgres documentation
 -->
 
@@ -132,6 +132,7 @@ Postgres documentation
     <programlisting>
 $ <userinput>psql testdb</userinput>
 Welcome to psql, the PostgreSQL interactive terminal.
+
 Type \copyright for distribution terms
      \h for help with SQL commands
      \? for help on internal slash commands
index 019a9c3d49a0cd36f0399bee3c7acd0d890ff78a..2b08c74e155d9f89cabcb0a4fc84abcecb982a67 100644 (file)
@@ -177,12 +177,12 @@ main(int argc, char **argv)
 
        if (!GetVariable(settings.vars, "quiet") && !settings.notty && !options.action)
        {
-               puts("Welcome to psql, the PostgreSQL interactive terminal.\n"
-                        "Type \\copyright for distribution terms");
+               puts("Welcome to psql, the PostgreSQL interactive terminal.\n\n");
 
                //showVersion(&settings, false);
 
-               puts("     \\h for help with SQL commands\n"
+               puts("Type \\copyright for distribution terms\n"
+                        "     \\h for help with SQL commands\n"
                         "     \\? for help on internal slash commands\n"
                         "     \\g or terminate with semicolon to execute query\n"
                         "     \\q to quit\n");