Re: Patch for psql startup clarity - Mailing list pgsql-patches

From david@fetter.org (David Fetter)
Subject Re: Patch for psql startup clarity
Date
Msg-id 200402011829.i11ITb5Z007405@fetter.org
Whole thread Raw
In response to Re: Patch for psql startup clarity  (David Fetter <david@fetter.org>)
List pgsql-patches
In article <20040130230026.GB22997@fetter.org> you wrote:
> On Fri, Jan 30, 2004 at 11:53:19PM +0100, Markus Bertheau wrote:
>> ?? ??????, 30.01.2004, ?? 23:45, David Fetter ??????????:
>>
>> > \? for help on internal slash (i.e. psql) commands
>>
>> I think it should be
>>
>> \? for help with psql commands
>
> That was my 1st thought, but wanted to make a minimal change.  Yours
> is better, tho :)
>
> On a slightly related subject, the patch I made spans 3 of the 17
> files that contain that phrase, as I skipped all the .po's and the
> stuff in contrib.
>
> I know this is a much longer-term project, but is there some way to
> put such things in 1 place?

Here's the fixed patch :)

Cheers,
D

? 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 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 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 psql commands\n"
                "       \\g or terminate with semicolon to execute query\n"
                             "       \\q to quit\n\n"),
--
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100    cell: +1 415 235 3778

Fascism should more properly be called corporatism, since it is the
merger of state and corporate power.
                                                    Benito Mussolini

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: reading uninitialized buffer
Next
From: Andrew Dunstan
Date:
Subject: Re: reading uninitialized buffer