Re: Getting truncated queries from pg_stat_statements - Mailing list pgsql-general

From Tim Uckun
Subject Re: Getting truncated queries from pg_stat_statements
Date
Msg-id CAGuHJrOBP_87BzDzDOThUwazAHBtRfGC=vRObwTyqkCntaygCg@mail.gmail.com
Whole thread Raw
In response to Re: Getting truncated queries from pg_stat_statements  (Peter Geoghegan <peter.geoghegan86@gmail.com>)
Responses Re: Getting truncated queries from pg_stat_statements
List pgsql-general
Ok thanks. I am still on 9.3 so I'll adjust that setting.

On Tue, Jan 20, 2015 at 12:15 PM, Peter Geoghegan <peter.geoghegan86@gmail.com> wrote:
On Mon, Jan 19, 2015 at 2:37 PM, Tim Uckun <timuckun@gmail.com> wrote:
> I am trying to get some slow query information and the results from my query
> are truncated at 2047 characters.   Some of my queries are very long so they
> get truncated in the select. Is there a way around this?


Yes. This is fixed in PostgreSQL 9.4, so that query texts can be of
virtually unlimited size and still be stored. Otherwise, it depends on
your track_activity_query_size setting.

--
Regards,
Peter Geoghegan

pgsql-general by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Getting truncated queries from pg_stat_statements
Next
From: Kyotaro HORIGUCHI
Date:
Subject: Re: Partitioning