Re: setXXX patches

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: dave(at)ebox(dot)com
Cc: PostgreSQL jdbc list <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: setXXX patches
Date: 2001-07-12 04:22:23
Message-ID: 200107120422.f6C4MNO22412@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Browse pgsql-jdbc by date

  From Date Subject
Next Message Alexey Borzov 2001-07-12 07:04:11 Pg7.2 (was: vacuum and 24/7 uptime)
Previous Message Philip Molter 2001-07-12 03:28:59 Re: vacuum and 24/7 uptime