Re: setXXX patches

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: setXXX patches
Дата
Msg-id 200107120422.f6C4MNO22412@candle.pha.pa.us
обсуждение исходный текст
Ответ на setXXX patches  (Dave Cramer <Dave@micro-automation.net>)
Список pgsql-jdbc
> re: the spacing, I recall there is an app in the distibution to format the c
> code. I am betting that this will work with java. We should probably run the
> source through it.

I tried pgindent but it doesn't understand Java and made a mess of it.
I used astyle with the options:

    $ astyle --style=java -j *.java

I have the reformatted jdbc files at:

    ftp://candle.pha.pa.us/pub/postgresql/astyle_jdbc.tar.gz

I must say it looks very good.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: setXXX patches
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Re: [PATCH] Cleanup of JDBC character encoding