Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZUysh-0005nP-MD for pgsql-docs@arkaria.postgresql.org; Thu, 27 Aug 2015 15:14:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZUysh-0008Ib-8h for pgsql-docs@arkaria.postgresql.org; Thu, 27 Aug 2015 15:14:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZUysL-0007WO-El for pgsql-docs@postgresql.org; Thu, 27 Aug 2015 15:14:01 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZUysE-0005GN-K2 for pgsql-docs@postgresql.org; Thu, 27 Aug 2015 15:14:00 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1ZUysC-0007Sv-Bv; Thu, 27 Aug 2015 11:13:52 -0400 Date: Thu, 27 Aug 2015 11:13:52 -0400 From: Bruce Momjian To: "David G. Johnston" Cc: "pgsql-docs@postgresql.org" Subject: Re: Omission of "(or C)" in psql's "pset title" header Message-ID: <20150827151352.GJ29674@momjian.us> References: <20150827020226.GG29674@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org 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 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 ) > " > > 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: tuples_only (or t) 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.) -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs