public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Bruce Momjian <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Omission of "(or C)" in psql's "pset title" header
Date: Thu, 27 Aug 2015 11:50:53 -0400
Message-ID: <CAKFQuwZLaJAnATfdx+crgUmcQCQSog3=77jf_cwLSBDz=Q+P7w@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAKFQuwYOmtkz1t+d-MbhmrH0KiKd2t=csmRqrBPSqEvxoYXkrg@mail.gmail.com>
	<[email protected]>
	<CAKFQuwa501iGXsh1M0tjWEZ=zPLBUzyDzMJrjf8S1_yC=oDufA@mail.gmail.com>
	<[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>

On Thu, Aug 27, 2015 at 11:13 AM, Bruce Momjian <[email protected]> wrote:

> On Wed, Aug 26, 2015 at 10:51:09PM -0400, David G. Johnston wrote:
> > On Wed, Aug 26, 2015 at 10:02 PM, Bruce Momjian <[email protected]>
> wrote:
> >
> >     On Wed, Jun 24, 2015 at 06:11:20PM -0400, David G. Johnston wrote:
> >     > http://www.postgresql.org/docs/devel/static/app-psql.html
> >     >
> >     > The other pset keywords with black-slash aliases include a "(or
> <letter>)
> >     "
> >     > paren after the keyword.  "title" does not (should be "C")
> >
> >     Attached is a patch to implement this, including a doc patch.
> >
> >
> >
> > ​Wasn't expecting a code change - just the docs.  The docs already said
> the "\C
> > [ title ]" is a valid meta-command...
> >
> > Did you maybe end up making a command line "-C 'title'" valid instead?
>
> Obviously I am not understanding you. I thought you were looking for
> \pset C to be documented, and to work:
>
>         test=> \pset C test
>         Title is "test".
>
> That does not work in the current sources, so I had to add it.  This is
> similar to how "\pset t" works as an alias for "\pset tuples_only":
>
>         test=> \pset t
>         Tuples only is on.
>
> When our docs say:
>
>     <term><literal>tuples_only</literal> (or <literal>t</literal>)</term>
>
> it is not talking about using \t, but rather "\pset t" --- perhaps that
> is where the confusion is coming from.  (Yeah, I know it is kind of
> odd.)
>
>
​Yes, I read that as "\pset tuples_only" and "\t" are alternate forms of
the same thing
​ and thought that "\pset title" and "\C" should be documented similarly.
Making "\pset C <label>" work doesn't seem like an improvement.

David J.


view thread (10+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Omission of "(or C)" in psql's "pset title" header
  In-Reply-To: <CAKFQuwZLaJAnATfdx+crgUmcQCQSog3=77jf_cwLSBDz=Q+P7w@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox