From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pgindent |
Date: | 2016-04-27 15:57:17 |
Message-ID: | 20160427155717.GL13058@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Apr 27, 2016 at 11:51:42AM -0400, Robert Haas wrote:
> >> It mostly just adds new typedefs that have
> >> appeared over the last year, but it also realphabetizes the file -
> >> some things that were added incrementally seem to have ended up in
> >> what is, at least according to what sort likes to do on my machine,
> >> the wrong place in the file.
> >
> > Is it just me, or is the sort order in that file a bit confusing? The
> > whole thing about upper and lower case being separated seems to make it
> > much harder than necessary to manually insert something in the right
> > place..
>
> Except for recently-manually-added entries, it seems to match what
> sort wants to do on my system exactly. Which seems good.
Well, sort ordering is all related to your collation setting:
$ echo "a
> A" | LC_COLLATE="" sort
a
A
$ echo "a
A" | LC_COLLATE="en_US" sort
A
a
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-04-27 15:59:39 | Re: Suspicious behaviour on applying XLOG_HEAP2_VISIBLE. |
Previous Message | Robert Haas | 2016-04-27 15:56:57 | Re: pgindent |