Re: proposal: add 'waiting for replication' to pg_stat_activity.state

From: Andres Freund <andres(at)anarazel(dot)de>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Julian Schauder <julian(dot)schauder(at)credativ(dot)de>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: add 'waiting for replication' to pg_stat_activity.state
Date: 2015-12-04 09:12:46
Message-ID: 0EF2B56C-9716-408A-AED0-C41FA617A81B@anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On December 4, 2015 9:48:55 AM GMT+01:00, Craig Ringer <craig(at)2ndquadrant(dot)com> wrote:
>On 3 December 2015 at 22:58, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
>wrote:
>
>> On Thu, Dec 3, 2015 at 9:02 AM, Craig Ringer <craig(at)2ndquadrant(dot)com>
>> wrote:

>http://www.postgresql.org/message-id/CAA4eK1+=5Ex8-5NRr3u94=_t2p65v0kcjZ5rXddVmkx=LwAJ+w@mail.gmail.com
>>
>Good point. I'm not sure this shouldn't set 'waiting' anyway, though.

No. Waiting corresponds to pg locks -setting it to true for other things would be even more confusing...

Andres

---
Please excuse brevity and formatting - I am writing this on my mobile phone.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2015-12-04 12:15:04 Patch: ResourceOwner optimization for tables with many partitions
Previous Message Pavel Stehule 2015-12-04 09:06:35 Re: psql: add \pset true/false