Re: Uppercase tab completion keywords in psql? - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Uppercase tab completion keywords in psql?
Date
Msg-id CAEYLb_XTRPmAp7GgtQeB1cmMDNXwSKdDOJkyWJ0eNFSZLvbscw@mail.gmail.com
Whole thread Raw
In response to Re: Uppercase tab completion keywords in psql?  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On 23 March 2012 15:13, Andrew Dunstan <andrew@dunslane.net> wrote:
> Upper casing SQL keywords is a common style, which is used in lots of our
> code (e.g. regression tests, psql queries, pg_dump). I think the default
> should match what is in effect our house style, and what we have
> historically done.

The code doesn't give preferential treatment to lower-case code - it
merely puts it on an even footing. I would agree with your position if
the change assumed that the user always wanted to use lower-case SQL,
but it does not. Rather, it intelligently infers what the user wants.

--
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [BUGS] BUG #6510: A simple prompt is displayed using wrong charset
Next
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Add notion of a "transform function" that can simplify function