Re: doc fix for pg_stat_activity.backend_type - Mailing list pgsql-hackers

From John Naylor
Subject Re: doc fix for pg_stat_activity.backend_type
Date
Msg-id CAJVSVGXJhNU2grcox2jMQXYYJUMUy_DGxaH+=S25zpC83hsp1Q@mail.gmail.com
Whole thread Raw
In response to Re: doc fix for pg_stat_activity.backend_type  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
On 11/13/18, Amit Kapila <amit.kapila16@gmail.com> wrote:
> On Tue, Nov 13, 2018 at 3:37 PM John Naylor <jcnaylor@gmail.com> wrote:
>>
>> On 11/13/18, Amit Kapila <amit.kapila16@gmail.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


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal: simple query profile and tracing API
Next
From: Alvaro Herrera
Date:
Subject: Re: move PartitionBoundInfo creation code