Re: Patch for psql startup clarity

From: david(at)fetter(dot)org (David Fetter)
To: pgsql-patches(at)postgresql(dot)org
Subject: Re: Patch for psql startup clarity
Date: 2004-02-01 18:29:37
Message-ID: 200402011829.i11ITb5Z007405@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

In article <20040130230026(dot)GB22997(at)fetter(dot)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(at)fetter(dot)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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2004-02-01 18:43:00 Re: reading uninitialized buffer
Previous Message Tom Lane 2004-02-01 16:13:38 Re: reading uninitialized buffer