Re: Why does pg_stat_activity Truncate Queries? - Mailing list pgsql-hackers

From Gaetano Mendola
Subject Re: Why does pg_stat_activity Truncate Queries?
Date
Msg-id 413E43E8.2040302@bigfoot.com
Whole thread Raw
In response to Re: Why does pg_stat_activity Truncate Queries?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:

> Josh Berkus <josh@agliodbs.com> writes:
> 
>>I was just noticing that pg_stat_activity is truncating queries which are 
>>logged to it at about 150 chars.
> 
> 
> 256, I would expect.
> 
> 
>>I can't think of any good reason for this.
> 
> 
> There is good reason to limit the packet size, but to a kilobyte or so.
> Feel free to bump up PGSTAT_ACTIVITY_SIZE to 1000 or so in
> src/include/pgstat.h (and yes, this is already done for 8.0).
> 

I didn't see this changement in the 8.0 release note, don't you think shall
be added ?


Regards
Gaetano Mendola




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Making AFTER triggers act properly in PL functions
Next
From: Tiago Wright
Date:
Subject: Re: Indexed views?