From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Tim Dudgeon <tdudgeon(dot)ml(at)gmail(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: commit not completing - how to investigate? |
Date: | 2017-07-21 14:14:32 |
Message-ID: | 29711.1500646472@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Tim Dudgeon <tdudgeon(dot)ml(at)gmail(dot)com> writes:
> I have a situation where the pg_stat_activity view shows that can have
> some processes that are idle and not completing. In some cases the
> statement being executed is COMMIT.
Are you sure you're interpreting the view properly? If the session
state is shown as idle, it's idle. We used to show the query field
as empty in that case, but recent PG versions allow the query field
to continue to show the last-completed command.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Dudgeon | 2017-07-21 15:18:49 | Re: commit not completing - how to investigate? |
Previous Message | Tim Dudgeon | 2017-07-21 11:32:57 | commit not completing - how to investigate? |