Re: Prepared statement does not exist - Mailing list pgsql-performance

From Glyn Astill
Subject Re: Prepared statement does not exist
Date
Msg-id 407434.55939.qm@web23607.mail.ird.yahoo.com
Whole thread Raw
In response to Prepared statement does not exist  (Nimesh Satam <nimesh.zedo@gmail.com>)
Responses Re: Prepared statement does not exist  (Nimesh Satam <nimesh.zedo@gmail.com>)
List pgsql-performance



--- On Thu, 19/3/09, Nimesh Satam <nimesh.zedo@gmail.com> wrote:
>
> We are receving the following error in the postgres
> database logs:
>
> 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:
> 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:
> DEALLOCATE "S_4"
>
> 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 to send the RESET ALL, this will deallocate
theprepared statement. Then the app is reconnecting to pgpool again and expecting the prepared statement to still be
available,which it will not be. 




pgsql-performance by date:

Previous
From: Nimesh Satam
Date:
Subject: Prepared statement does not exist
Next
From: Tom Lane
Date:
Subject: Re: Extremely slow intarray index creation and inserts.