Re: Question regarding DEALLOCATE pdo_stmt_00000001 - Mailing list pgsql-general

From David Johnston
Subject Re: Question regarding DEALLOCATE pdo_stmt_00000001
Date
Msg-id CAKFQuwbppXha_Qr8qP88-vtLLf9Ts6gMWjg=aURbN+jcmfSZ1g@mail.gmail.com
Whole thread Raw
In response to Re: Question regarding DEALLOCATE pdo_stmt_00000001  (Laurentius Purba <lpurba@sproutloud.com>)
List pgsql-general

9.3 - On an idle connection the value of query is the last executed query -
which in this case is some form session cleanup command before returning the
connection to the pool.


So, it is a normal behavior in Postgres.

One more thing that bothers me, why this idle connection can be stayed idle for 3 days. Is this a zombie process?​


​You said:​

​"I am using PostgreSQL 9.3.2 and PgBouncer."

​It is PgBouncer that is keeping these connections open and available for immediate usage in its connection pool.

David J.

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Need help on triggers - postgres 9.1.2
Next
From: Khangelani Gama
Date:
Subject: Re: Need help on triggers - postgres 9.1.2