David Miller <[EMAIL PROTECTED]> writes:

> I would like to request a change to the PGBE_ACTIVITY_SIZE #define in the 
> pgstat.h file. This value determines the max length of the SQL query 
> contained in the PgBackendStatus structure. 
> By increasing the value of this #define to 32768 we are able to capture 
> queries larger than the 1024 default using just pgAdmin or Postgres Studio. I 
> would like to have this change considered for future releases.


> Highly unlikely that we'd push it so high, because of the amount of
> shared memory it would eat.

>                       regards, tom lane

That is fine.. Maybe a dynamic configurable parameter that can be set/updated 
while the database is running. This issue lies in the fact that we have queries 
larger than 1K and we would like to be able to capture the entire query from 
Postgres Studio without having to process the log files..


Thanks,

David Miller

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to