Re: driver source code indentation - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: driver source code indentation
Date
Msg-id 5813.999637160@sss.pgh.pa.us
Whole thread Raw
In response to Re: driver source code indentation  (Barry Lind <barry@xythos.com>)
Responses Re: driver source code indentation  ("Thomas O'Dowd" <tom@nooper.com>)
Re: driver source code indentation  (Dave Cramer <Dave@micro-automation.net>)
List pgsql-jdbc
Barry Lind <barry@xythos.com> writes:
> I am OK with the style used for the C code.  However I would like the
> following additional step done for the java code:  replace all tabs with
> spaces.

I disagree with this, because then we are *not* applying the same coding
standards in the backend and in JDBC.  If you want to propose that we
dispense with tabs throughout the system, feel free to propose that ---
but it was shot down last time and likely will be again.

I personally concur that four-space tabs is a horrible standard, and
would much rather see us using eight-space tab stops.  But I haven't
been able to obtain any significant consensus for that view.  Some
developers apparently use editors where a physical tab character needs
to equal the logical indent amount...

            regards, tom lane

pgsql-jdbc by date:

Previous
From: Joseph Shraibman
Date:
Subject: Patch for jdbc2 ResultSet.java
Next
From: Kovács Péter
Date:
Subject: Re: JAVA vs PERL : PERL wins to postgreSQL