Re: Patch to make pgindent work cleanly

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Patch to make pgindent work cleanly
Дата
Msg-id 20130412192647.GE28226@momjian.us
обсуждение исходный текст
Ответ на Re: Patch to make pgindent work cleanly  (Gurjeet Singh <gurjeet@singh.im>)
Ответы Re: Patch to make pgindent work cleanly  (Gurjeet Singh <gurjeet@singh.im>)
Список pgsql-hackers
On Fri, Apr 12, 2013 at 01:34:49PM -0400, Gurjeet Singh wrote:
> Can you also improve the output when it dies upon failure to fetch something?
> Currently the only error message it emits is "fetching xyz", and leaves the
> user confused as to what really the problem was. The only indication of a
> problem might be the exit code,  but I'm not sure of that, and that doesn't
> help the interactive user running it on terminal.

Good point.  I have reviewed all the error messages and improved them
with the attached, applied patch, e.g.:

    cannot locate typedefs file "xyz" at /usr/local/bin/pgindent line 121.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Enabling Checksums
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Enabling Checksums