From: | John Naylor <jcnaylor(at)gmail(dot)com> |
---|---|
To: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
Cc: | Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: doc fix for pg_stat_activity.backend_type |
Date: | 2018-11-13 12:56:37 |
Message-ID: | CAJVSVGXJhNU2grcox2jMQXYYJUMUy_DGxaH+=S25zpC83hsp1Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 11/13/18, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
> On Tue, Nov 13, 2018 at 3:37 PM John Naylor <jcnaylor(at)gmail(dot)com> wrote:
>>
>> On 11/13/18, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>> >
>> > Don't you need to remove <literal>background worker</literal>?
>>
>> It's handled in pgstat_get_backend_desc(), so I assumed not. If that's
>> just a place holder, then it's probably better left out, as in the
>> attached.
>>
>
> I don't think 'background worker' can be displayed as backend_type.
I think you're right (pgstatfuncs.c, starting at line 826).
-John Naylor
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2018-11-13 12:58:08 | Re: move PartitionBoundInfo creation code |
Previous Message | Pavel Stehule | 2018-11-13 12:55:27 | Re: proposal: simple query profile and tracing API |