Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id E4C2C632903 for ; Thu, 19 Mar 2009 08:37:15 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 90490-04 for ; Thu, 19 Mar 2009 08:37:08 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from web23607.mail.ird.yahoo.com (web23607.mail.ird.yahoo.com [87.248.115.50]) by mail.postgresql.org (Postfix) with SMTP id CD09A63269A for ; Thu, 19 Mar 2009 08:37:13 -0300 (ADT) Received: (qmail 55998 invoked by uid 60001); 19 Mar 2009 11:37:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1237462631; bh=T4gLlf7Bbb2+84m0RCdHJ+/Ohe/hYZUe02xm485c0qo=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=IvAHN7HRn3oow87q/SuCZp8vnHGYrqKREP5UaCVoi/y7DTiiIXDy+6hstmSpRyTYoQvArF+uLE+EP40Hm05a2wjbKP0wsgGE6DJq2rfU3vYWPGaPsUX6fjs+Ywb3RokUU7jdbH8x7L8H/QsnR7qX8jhITbZ2gtUIRpkzByp2J1M= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=s+l4CPuWWq9vZS3xcdUT98/CpWRzWA1ePPj3WUUpx6scgnR5IMRbqAkQWlNkfhm+7+uslz+QMopGRBqGqxwEb9iqfqDhFtS1IG425ZHE9uzEbOKVXhMR1yiqLrpquF0UOtFTXPXMggFmlFAT4E4VSXFdqe7UoGxyiB6quTDoha8=; Message-ID: <407434.55939.qm@web23607.mail.ird.yahoo.com> X-YMail-OSG: 65cwmnIVM1mslgTebBmCkhSGvcgmTCwu3PjhlqqI9DqB8BkHpRm2f6lxHFRsmb15rBVpBYw9TIjQIDPD4NHX6hlqPxRGxO_IikRuhucnTMUbdrAFz1XBjSgPUfKiyUSfT2v3AE1mndy4Y18VlzcwEqhR.SFBtkCS2f06IQfWQTpgEkzwMfMTNH5CyFQmih5eml_flPNMC.28pPk- Received: from [213.83.65.106] by web23607.mail.ird.yahoo.com via HTTP; Thu, 19 Mar 2009 11:37:11 GMT X-Mailer: YahooMailWebService/0.7.289.1 Date: Thu, 19 Mar 2009 11:37:11 +0000 (GMT) From: Glyn Astill Reply-To: glynastill@yahoo.co.uk Subject: Re: Prepared statement does not exist To: pgsql-performance@postgresql.org, Nimesh Satam , Nimesh Satam In-Reply-To: <965aa3ed0903190432i77ca9b39v733663f92ef3e2d0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.125 tagged_above=0 required=5 tests=AWL=0.125 X-Spam-Level: X-Archive-Number: 200903/265 X-Sequence-Number: 33187 --- On Thu, 19/3/09, Nimesh Satam wrote: >=20 > We are receving the following error in the postgres > database logs: >=20 > 2009-03-19 02:14:20 PDT [2547]: [79-1] LOG: duration: > 0.039 ms statement: > RESET ALL > 2009-03-19 02:14:20 PDT [2547]: [80-1] LOG: duration: > 0.027 ms statement: > SET SESSION AUTHORIZATION DEFAULT > 2009-03-19 02:14:20 PDT [2547]: [81-1] ERROR: prepared > statement "S_1" does > not exist > 2009-03-19 02:14:20 PDT [2547]: [82-1] STATEMENT:=20 > DEALLOCATE "S_1" > 2009-03-19 02:14:20 PDT [2547]: [83-1] ERROR: prepared > statement "S_4" does > not exist > 2009-03-19 02:14:20 PDT [2547]: [84-1] STATEMENT:=20 > DEALLOCATE "S_4" >=20 > We receive this errors when we start connecting the java > application > thorugh pgpool. What causes this problem and how can it be > avoided? Looks like your app is dissconnecting from pgpool which is causing pgpool t= o send the RESET ALL, this will deallocate the prepared statement. Then the= app is reconnecting to pgpool again and expecting the prepared statement t= o still be available, which it will not be.=0A=0A=0A