pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: CG <cgg007@yahoo.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Cc: Dave Cramer <pg@fastcrypt.com>
Subject: Re: Upgrade to Scientific Linux 6.5 x86_64 breaks query
Date: Wed, 23 Jul 2014 15:39:35 -0400
Message-ID: <25544.1406144375@sss.pgh.pa.us> (raw)
In-Reply-To: <1406142837.33674.YahooMailNeo@web162903.mail.bf1.yahoo.com>
References: <1406131842.96108.YahooMailNeo@web162901.mail.bf1.yahoo.com>
	<CADK3HHKRFUVJw_zkyP5+1pjTFz6Zmjy1=tjXrvvEEg60pDZvxA@mail.gmail.com>
	<1406142837.33674.YahooMailNeo@web162903.mail.bf1.yahoo.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

CG <cgg007@yahoo.com> writes:
> The question is what is causing valid SQL, prepared properly on 32bit linux to fail to prepare properly on 64bit linux? Based on that log, it looks like client-side prepare is falling down.

It seems quite unlikely that this is a 32-vs-64-bit problem, especially
given that you're working in Java and not something more
machine-dependent.  I'd be looking at whether you have exactly the same
versions of the JDBC driver and other supporting libraries.  One way or
another, the backend was getting told that $2 was an interval before,
and now it's not being told that.

Another possible reason for a behavioral discrepancy would be if you were
forcing PG protocol version 2 on one system and not the other.

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

Message-ID: <25544.1406144375@sss.pgh.pa.us>
Permalink:  ../25544.1406144375@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25544.1406144375@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, cgg007@yahoo.com, pg@fastcrypt.com
  Subject: Re: Upgrade to Scientific Linux 6.5 x86_64 breaks query
  In-Reply-To: <25544.1406144375@sss.pgh.pa.us>
  References: <1406131842.96108.YahooMailNeo@web162901.mail.bf1.yahoo.com> <CADK3HHKRFUVJw_zkyP5+1pjTFz6Zmjy1=tjXrvvEEg60pDZvxA@mail.gmail.com> <1406142837.33674.YahooMailNeo@web162903.mail.bf1.yahoo.com> <25544.1406144375@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