Re: pgindent run coming

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgindent run coming
Дата
Msg-id 9862.1244901479@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgindent run coming  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Peter Eisentraut wrote:
>> On Wednesday 10 June 2009 23:54:41 Tom Lane wrote:
>>> At a quick look, I'm not sure that any of these are in code that hasn't
>>> been edited since the 8.3 pgindent run.
>> 
>> So what does that mean then?  Surely pgindent doesn't keep track of what has
>> been edited when?

> If the code has been edited since the last pgindent run, then pgindent 
> hasn't had a chance to adjust it, no?

Right.  Those extra spaces all represent manual editing sloppiness.

I have not done a complete check, but I looked at the first couple of
examples you cited and verified that pgindent did remove those spaces.
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pgindent run coming
Следующее
От: Tom Lane
Дата:
Сообщение: Re: some of the datatypes only support hashing, while others only support sorting