Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XA2O5-0001Dc-O8 for pgsql-jdbc@arkaria.postgresql.org; Wed, 23 Jul 2014 19:39:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XA2O4-00005K-Vq for pgsql-jdbc@arkaria.postgresql.org; Wed, 23 Jul 2014 19:39:41 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XA2O3-0008Ug-Qs for pgsql-jdbc@postgresql.org; Wed, 23 Jul 2014 19:39:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XA2O1-0000cn-2B for pgsql-jdbc@postgresql.org; Wed, 23 Jul 2014 19:39:38 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s6NJdZAR025545; Wed, 23 Jul 2014 15:39:35 -0400 From: Tom Lane To: CG cc: "pgsql-jdbc@postgresql.org" , Dave Cramer Subject: Re: Upgrade to Scientific Linux 6.5 x86_64 breaks query In-reply-to: <1406142837.33674.YahooMailNeo@web162903.mail.bf1.yahoo.com> References: <1406131842.96108.YahooMailNeo@web162901.mail.bf1.yahoo.com> <1406142837.33674.YahooMailNeo@web162903.mail.bf1.yahoo.com> Comments: In-reply-to CG message dated "Wed, 23 Jul 2014 12:13:57 -0700" Date: Wed, 23 Jul 2014 15:39:35 -0400 Message-ID: <25544.1406144375@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org CG 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