Re: pgindent

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgindent
Дата
Msg-id 20160427155717.GL13058@momjian.us
обсуждение исходный текст
Ответ на Re: pgindent  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: pgindent  (Robert Haas <robertmhaas@gmail.com>)
Список 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="" sortaA$ echo "aA" | LC_COLLATE="en_US" sortAa

--  Bruce Momjian  <bruce@momjian.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 +



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: pgindent
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Suspicious behaviour on applying XLOG_HEAP2_VISIBLE.