Re: WIP pgindent replacement

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WIP pgindent replacement
Дата
Msg-id 16773.1308712543@sss.pgh.pa.us
обсуждение исходный текст
Ответ на WIP pgindent replacement  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: WIP pgindent replacement  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Attached is a WIP possible replacement for pgindent. Instead of a shell 
> script invoking a mishmash of awk and sed, some of which is pretty 
> impenetrable, it uses a single engine (perl) to do all the pre and post 
> indent processing.

Hm ... this should offer the chance of running on Windows, but otherwise
I'm not sure it does very much for us, if you still have to have a
patched version of NetBSD indent underneath.

> If anybody is so inclined, this could be used as a basis for removing 
> the use of bsd indent altogether, as has been suggested before, as well 
> as external entab/detab.

Now *that* I would get excited about.  But surely it would be a huge
amount more work?
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [v9.2] DROP Reworks Part.0 - 'missing_ok' support of get_object_address
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: Indication of db-shared tables