Skip site navigation (1) Skip section navigation (2)

Re: track_activity_query_size note

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Thom Brown <thom(at)linux(dot)com>
Cc: pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: track_activity_query_size note
Date: 2012-05-24 13:03:56
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-docs
On Thu, May 24, 2012 at 2:59 PM, Thom Brown <thom(at)linux(dot)com> wrote:
> On 24 May 2012 13:54, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>> On Thu, May 24, 2012 at 2:49 PM, Thom Brown <thom(at)linux(dot)com> wrote:
>>> On 24 May 2012 13:39, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>>>> On Thu, May 24, 2012 at 2:16 PM, Thom Brown <thom(at)linux(dot)com> wrote:
>>>>> Hi,
>>>>> I attach a proposed change to the docs which points out that if the
>>>>> size of track_activity_query_size is changed and the is server
>>>>> restarted, it won't have any effect if query statistics are already
>>>>> present.
>>>> But aren't pg_stat_activity queries always cleared when you restart
>>>> the server - because they are all disconnected... And you can't change
>>>> track_activity_query_size without restarting.
>>> But not pg_stat_statistics queries, which is where I should have
>>> probably made the note.  Restarting the server won't change the length
>>> of the field if there's already data present in pg_stat_statistics,
>>> but upon resetting them, the field is appropriately sized.
>> Uh, what's pg_stat_statistics?
> s/pg_stat_statistics/pg_stat_statements/

Ah, suddenly it makes sense.

And in that case yes, the docs changes should go under
pg_stat_statements, I believe.

 Magnus Hagander

In response to


pgsql-docs by date

Next:From: Tom LaneDate: 2012-05-24 14:19:10
Subject: Re: track_activity_query_size note
Previous:From: Thom BrownDate: 2012-05-24 12:59:53
Subject: Re: track_activity_query_size note

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group