Re: Re: 9.4-1207 behaves differently with server side prepared statements compared to 9.2-1102

From: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
To: Jeremy Whiting <jwhiting(at)redhat(dot)com>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Re: 9.4-1207 behaves differently with server side prepared statements compared to 9.2-1102
Date: 2016-01-12 12:37:09
Message-ID: CAB=Je-H5MEX9_UnXWQw9ceTT2iGaM1wRaFbxRoY9xFrgvRp3JQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

Jeremy,

The issue is easily reproducible in plain psql.
It has nothing to do with jdbc driver.
It has nothing to do with date-time either.

> I think you'll find initial executions (Bind) use the paramater type org.postgresql.core.Oid.UNSPECIFIED for the date time.

Does $1 = '180', $2 = '1' or $3 = '7728' look like a date-time value?

Vladimir

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2016-01-12 12:42:53 Allow to specify (auto-)vacuum cost limits relative to the database/cluster size?
Previous Message Jeremy Whiting 2016-01-12 12:33:01 Re: Re: 9.4-1207 behaves differently with server side prepared statements compared to 9.2-1102

Browse pgsql-jdbc by date

  From Date Subject
Next Message Vladimir Sitnikov 2016-01-12 13:26:35 Re: Fwd: [JDBC] Re: 9.4-1207 behaves differently with server side prepared statements compared to 9.2-1102
Previous Message Jeremy Whiting 2016-01-12 12:33:01 Re: Re: 9.4-1207 behaves differently with server side prepared statements compared to 9.2-1102