Re: Patch to implement pg_current_logfile() function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Patch to implement pg_current_logfile() function
Дата
Msg-id 2957.1481155025@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Patch to implement pg_current_logfile() function  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Yikes.  This patch has certainly had a lot of review, but it has lots
> of basic inconsistencies with PostgreSQL coding style, which one would
> think somebody would have noticed by now, and there are multiple
> places where the logic seems to do in a complicated way something that
> could be done significantly more simply.  I don't have any objection
> to the basic idea of this patch, but it's got to look and feel like
> the surrounding PostgreSQL code.  And not be unnecessarily
> complicated.

A lot of the code-formatting issues could probably be fixed by running it
through pgindent.  Also, when you are starting from code that was written
with little regard for Postgres layout conventions, it's a really good
idea to see what pgindent will do to it, because it might not look very
nice afterwards.
        regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Patch to implement pg_current_logfile() function
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Back-patch use of unnamed POSIX semaphores for Linux?