Kind people,

Here's a minor patch for psql and related files that turns instances
of

 \? for help on internal slash commands

into

\? for help on internal slash (i.e. psql) commands

I think this makes it clearer exactly what \? does and how it's
different from \h

Cheers,
D
-- 
David Fetter [EMAIL PROTECTED] http://fetter.org/
phone: +1 510 893 6100    cell: +1 415 235 3778
? psql-help.patch
Index: doc/src/sgml/start.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql-server/doc/src/sgml/start.sgml,v
retrieving revision 1.33
diff -2 -c -r1.33 start.sgml
*** doc/src/sgml/start.sgml     29 Nov 2003 19:51:37 -0000      1.33
--- doc/src/sgml/start.sgml     30 Jan 2004 22:40:44 -0000
***************
*** 322,326 ****
  Type:  \copyright for distribution terms
         \h for help with SQL commands
!        \? for help on internal slash commands
         \g or terminate with semicolon to execute query
         \q to quit
--- 322,326 ----
  Type:  \copyright for distribution terms
         \h for help with SQL commands
!        \? for help on internal slash (i.e. psql) commands
         \g or terminate with semicolon to execute query
         \q to quit
Index: doc/src/sgml/ref/psql-ref.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql-server/doc/src/sgml/ref/psql-ref.sgml,v
retrieving revision 1.104
diff -2 -c -r1.104 psql-ref.sgml
*** doc/src/sgml/ref/psql-ref.sgml      20 Jan 2004 23:48:56 -0000      1.104
--- doc/src/sgml/ref/psql-ref.sgml      30 Jan 2004 22:40:46 -0000
***************
*** 525,529 ****
  Type:  \copyright for distribution terms
         \h for help with SQL commands
!        \? for help on internal slash commands
         \g or terminate with semicolon to execute query
         \q to quit
--- 525,529 ----
  Type:  \copyright for distribution terms
         \h for help with SQL commands
!        \? for help on internal slash (i.e. psql) commands
         \g or terminate with semicolon to execute query
         \q to quit
Index: src/bin/psql/startup.c
===================================================================
RCS file: /projects/cvsroot/pgsql-server/src/bin/psql/startup.c,v
retrieving revision 1.83
diff -2 -c -r1.83 startup.c
*** src/bin/psql/startup.c      25 Jan 2004 03:07:22 -0000      1.83
--- src/bin/psql/startup.c      30 Jan 2004 22:40:47 -0000
***************
*** 268,272 ****
                                                   "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\n"),
--- 268,272 ----
                                                   "Type:  \\copyright for 
distribution terms\n"
                                                   "       \\h for help with SQL 
commands\n"
!                                          "       \\? for help on internal slash 
(i.e. psql) commands\n"
                          "       \\g or terminate with semicolon to execute query\n"
                                                   "       \\q to quit\n\n"),
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to