pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pavel Raiskup <praiskup@redhat.com>
To: pgsql-jdbc@postgresql.org
To: pkajaba@redhat.com
Cc: Dave Cramer <notifications@github.com>
Subject: Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435)
Date: Thu, 07 Jan 2016 16:13:53 +0100
Message-ID: <5967543.8EbqbLIrot@nb.usersys.redhat.com> (raw)
In-Reply-To: <pgjdbc/pgjdbc/pull/435/c160152501@github.com>
References: <pgjdbc/pgjdbc/pull/435@github.com>
	<pgjdbc/pgjdbc/pull/435/c160152501@github.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

I have serious doubts about preprocessing and the preprocessing tool
maturity -- and I strongly feel the pgjdbc goes the wrong non-java way.

Was other possibilities for preprocessing considered?  I've talked to java
guys (I'm not one, I just work on packaging pgjdbc plugin), but all the
guys told me that this is generally suboptimal java approach.  Usually,
when C developer wants to use preprocessor, java guy should go the
sub-classing way.

From the latest *7 release, there has been added lot more preprocessor
constructs.

So is this really wanted?  I haven't had time to study the background
carefully.

Pavel

On Friday 27 of November 2015 06:41:16 Dave Cramer wrote:
> That's awesome. Very minimal preprocessing then.
> 
> Dave Cramer
> 
> On 27 November 2015 at 09:39, Vladimir Sitnikov <notifications@github.com>
> wrote:
> 
> > I'm a bit surprised, however I had to do *no*
> > modifications/pre-processing to support jdk6.
> > So, the only pre-processing required so far is commenting usage of SQLType
> > for java8.
> >
> > —
> > Reply to this email directly or view it on GitHub
> > <https://github.com/pgjdbc/pgjdbc/pull/435#issuecomment-160152281;.
> >
> 
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/pgjdbc/pgjdbc/pull/435#issuecomment-160152501



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (55+ messages)  latest in thread

Message-ID: <5967543.8EbqbLIrot@nb.usersys.redhat.com>
Permalink:  ../5967543.8EbqbLIrot@nb.usersys.redhat.com/
Also on:    postgresql.org/message-id/5967543.8EbqbLIrot@nb.usersys.redhat.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: praiskup@redhat.com, pkajaba@redhat.com, notifications@github.com
  Subject: Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435)
  In-Reply-To: <5967543.8EbqbLIrot@nb.usersys.redhat.com>
  References: <pgjdbc/pgjdbc/pull/435@github.com> <pgjdbc/pgjdbc/pull/435/c160152501@github.com> <5967543.8EbqbLIrot@nb.usersys.redhat.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox