Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 430321337BA5 for ; Wed, 6 Oct 2010 17:39:19 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 37188-09 for ; Wed, 6 Oct 2010 20:39:11 +0000 (UTC) X-Greylist: delayed 00:05:29.05976 by SQLgrey-1.7.6 Received: from gateout02.mbox.net (gateout02.mbox.net [165.212.64.22]) by mail.postgresql.org (Postfix) with ESMTP id 1C5BA1337B98 for ; Wed, 6 Oct 2010 17:39:11 -0300 (ADT) Received: from gateout02.mbox.net (gwo2-lo [127.0.0.1]) by gateout02.mbox.net (Postfix) with ESMTP id 162394BFEBE for ; Wed, 6 Oct 2010 20:33:40 +0000 (GMT) X-USANET-Received: from gateout02.mbox.net [127.0.0.1] by gateout02.mbox.net via mtad (C8.MAIN.3.68Q) with ESMTP id 510oJFuhM3728Mo2; Wed, 06 Oct 2010 20:33:38 -0000 Received: from s1hub1.EXCHPROD.USA.NET [165.212.120.254] by gateout02.mbox.net via smtad (C8.MAIN.3.68M) with ESMTPS id XID779oJFuhM4385Xo2; Wed, 06 Oct 2010 20:33:38 -0000 X-USANET-Source: 165.212.120.254 IN pthiyagarajan@cashedge.com s1hub1.EXCHPROD.USA.NET X-USANET-MsgId: XID779oJFuhM4385Xo2 Received: from MBX13.EXCHPROD.USA.NET ([10.120.221.132]) by s1hub1.EXCHPROD.USA.NET ([10.120.220.31]) with mapi; Wed, 6 Oct 2010 20:33:37 +0000 From: Palaniappan Thiyagarajan To: "pgsql-admin@postgresql.org" Date: Wed, 6 Oct 2010 20:33:35 +0000 Subject: Prepared statement and pgbouncer Thread-Topic: Prepared statement and pgbouncer Thread-Index: ActlZqDF70jnjw9HTZiukdWbl5w4oAALYS9A Message-ID: <3C9790592B997E43B4D5FC3DBAFD177B15C3415901@MBX13.EXCHPROD.USA.NET> References: <8938CAF49A00EF419310D5C6F6C72E9914616B2E7D@ExchMailbox2.univ.dir.wwu.edu> In-Reply-To: <8938CAF49A00EF419310D5C6F6C72E9914616B2E7D@ExchMailbox2.univ.dir.wwu.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_3C9790592B997E43B4D5FC3DBAFD177B15C3415901MBX13EXCHPROD_" MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201010/66 X-Sequence-Number: 35807 --_000_3C9790592B997E43B4D5FC3DBAFD177B15C3415901MBX13EXCHPROD_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable All, We are experiencing prepared statement error in our application using pgbou= ncer/PostgreSQL 8.3 org.postgresql.util.PSQLException: ERROR: prepared statement "S_1" already exists at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutor= Impl.java:1525) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.j= ava:1309) at We don't want to touch anything on application and we would like to overcom= e this issue by tuning pgbouncer or postgres. Any pointer to this problem will be appreciated. Thanks in advance Palani --_000_3C9790592B997E43B4D5FC3DBAFD177B15C3415901MBX13EXCHPROD_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

All,

 =

We are experiencing prep= ared statement error in our application using pgbouncer/PostgreSQL 8.3

 =

org.postgresql.util.PSQLException: ERROR: prepared statement "S_1=
"
already exists
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(=
QueryExecutorImpl.java:1525)
at
o=
rg.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.ja=
va:1309)
at

 =

We don’t want to t= ouch anything on application and we would like to overcome this issue by tuning pgbouncer or postgres.

 =

Any pointer to this prob= lem will be appreciated.

 =

Thanks in advance

Palani=

 =

--_000_3C9790592B997E43B4D5FC3DBAFD177B15C3415901MBX13EXCHPROD_--