pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dave Cramer <pg@fastcrypt.com>
Cc: Christopher BROWN <brown@reflexe.fr>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: PreparedStatement.setDate() behavior with OVERLAPS
Date: Tue, 11 Aug 2015 10:49:27 -0400
Message-ID: <20118.1439304567@sss.pgh.pa.us> (raw)
In-Reply-To: <CADK3HHK0TzucxG=203imSkrak2m07m-2JB-OV4rjku6is2vdDQ@mail.gmail.com>
References: <CAHL_zcMr0u+xdhGM5vJvt6zTfOGdh9Cp1Pd+gEERe6XC2khMvA@mail.gmail.com>
	<9152.1439301688@sss.pgh.pa.us>
	<CADK3HHJj8B2UyDVQj+xrN-8b8c1sz6kS5dspqsc14peKyMBcZQ@mail.gmail.com>
	<CAHL_zcNck+_fWGMjBa2uiQtGMYyPJoivSsm280Aq3Foz7+kY4Q@mail.gmail.com>
	<CADK3HHLNeRJnsrO0pGVmG29SwO1Y8CRz+y=PaWX8hQRRPmEx6w@mail.gmail.com>
	<CAHL_zcMOGpE1gqs=rnVYhRXjzvQ9DqXrCLAgJft89dgq4RJDqw@mail.gmail.com>
	<CADK3HHK0TzucxG=203imSkrak2m07m-2JB-OV4rjku6is2vdDQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

It strikes me that maybe the root problem is that Christopher is doing
things in such an order that the server is asked to parse the SQL string
before the setDate() is done.  Don't know enough details about JDBC to
translate that idea into code, though.

			regards, tom lane


-- 
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 (13+ messages)  latest in thread

Message-ID: <20118.1439304567@sss.pgh.pa.us>
Permalink:  ../20118.1439304567@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20118.1439304567@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, pg@fastcrypt.com, brown@reflexe.fr
  Subject: Re: PreparedStatement.setDate() behavior with OVERLAPS
  In-Reply-To: <20118.1439304567@sss.pgh.pa.us>
  References: <CAHL_zcMr0u+xdhGM5vJvt6zTfOGdh9Cp1Pd+gEERe6XC2khMvA@mail.gmail.com> <9152.1439301688@sss.pgh.pa.us> <CADK3HHJj8B2UyDVQj+xrN-8b8c1sz6kS5dspqsc14peKyMBcZQ@mail.gmail.com> <CAHL_zcNck+_fWGMjBa2uiQtGMYyPJoivSsm280Aq3Foz7+kY4Q@mail.gmail.com> <CADK3HHLNeRJnsrO0pGVmG29SwO1Y8CRz+y=PaWX8hQRRPmEx6w@mail.gmail.com> <CAHL_zcMOGpE1gqs=rnVYhRXjzvQ9DqXrCLAgJft89dgq4RJDqw@mail.gmail.com> <CADK3HHK0TzucxG=203imSkrak2m07m-2JB-OV4rjku6is2vdDQ@mail.gmail.com> <20118.1439304567@sss.pgh.pa.us>

* 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