X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id B107F9FB1E9 for ; Tue, 25 Jul 2006 12:27:03 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 55818-02 for ; Tue, 25 Jul 2006 12:26:59 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 632629FB381 for ; Tue, 25 Jul 2006 09:09:09 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k6PC95CZ008301; Tue, 25 Jul 2006 08:09:05 -0400 (EDT) To: "Markus Wollny" cc: "Postgres" Subject: Re: Checking what is the current query running In-reply-to: <28011CD60FB1724DBA4442E38277F62601C95103@hermes.computec.de> References: <28011CD60FB1724DBA4442E38277F62601C95103@hermes.computec.de> Comments: In-reply-to "Markus Wollny" message dated "Tue, 25 Jul 2006 11:34:28 +0200" Date: Tue, 25 Jul 2006 08:09:05 -0400 Message-ID: <8300.1153829345@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.049 tagged_above=0 required=5 tests=AWL, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200607/206 X-Sequence-Number: 22452 "Markus Wollny" 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