Re: Question regarding DEALLOCATE pdo_stmt_00000001

From: David Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Laurentius Purba <lpurba(at)sproutloud(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Question regarding DEALLOCATE pdo_stmt_00000001
Date: 2014-05-22 14:49:52
Message-ID: CAKFQuwbppXha_Qr8qP88-vtLLf9Ts6gMWjg=aURbN+jcmfSZ1g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Khangelani Gama 2014-05-22 15:19:02 Re: Need help on triggers - postgres 9.1.2
Previous Message Adrian Klaver 2014-05-22 14:38:35 Re: Need help on triggers - postgres 9.1.2