From: Tom Lane <tgl@sss.pgh.pa.us>
To: Markus Wollny <Markus.Wollny@computec.de>
Cc: Postgres <pgsql-admin@postgresql.org>
Subject: Re: Checking what is the current query running
Date: Tue, 25 Jul 2006 08:09:05 -0400
Message-ID: <8300.1153829345@sss.pgh.pa.us> (raw)
In-Reply-To: <28011CD60FB1724DBA4442E38277F62601C95103@hermes.computec.de>
References: <28011CD60FB1724DBA4442E38277F62601C95103@hermes.computec.de>
"Markus Wollny" <Markus.Wollny@computec.de> writes:
> pg_stat_activity has some limitations however; if you use a lot of
> dynamically generated complex queries, you might stumble over the 255
> character limit of current_query in pg_stat_activity, statement-strings
> longer than that are just cut off.
The limit has been ~1K, not 255, for a long time (since 8.0).
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, Markus.Wollny@computec.de
Subject: Re: Checking what is the current query running
In-Reply-To: <8300.1153829345@sss.pgh.pa.us>
References: <28011CD60FB1724DBA4442E38277F62601C95103@hermes.computec.de> <8300.1153829345@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox