Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDAGY-0001mu-NN for pgsql-docs@arkaria.postgresql.org; Sat, 03 Dec 2016 13:22:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cDAGY-0001aQ-9z for pgsql-docs@arkaria.postgresql.org; Sat, 03 Dec 2016 13:22:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cCGJJ-0005Wo-Ps for pgsql-docs@postgresql.org; Thu, 01 Dec 2016 01:37:17 +0000 Received: from mail-pg0-x230.google.com ([2607:f8b0:400e:c05::230]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cCGJF-0001MB-AM for pgsql-docs@postgresql.org; Thu, 01 Dec 2016 01:37:17 +0000 Received: by mail-pg0-x230.google.com with SMTP id 3so88392646pgd.0 for ; Wed, 30 Nov 2016 17:37:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:message-id:date:user-agent:mime-version; bh=MUEMjdcUvewrcANqSxvDB81eIi2lLBzAmouxDFnG1O0=; b=ncl+ltdWafxg3dVZ3J0nssCXXeWxw4sRmVqspsgmMLlQlEGuTWUlUENSlPGyw+xxai u2nInrv9I4dloFHqyuoZwU+++HLpOES3SFrsmguTEAmKe84o4xMstfWeLPGsyAqrLo+0 ZS+jVfr65XGPXhuWc0zAp0N14uvCTCsKVVsN/ZBH3OVmNHqkZxHzow+nqSXjui1pzXZy J271vqBp8pOzYp2qoUKBcdmbCAC0R1CCVVHhwrSHFpqPnIPH3Lk/n8Hh/IjPF5WZGyos noGC1Y/lUe4pIzyVMD0+shN1hM2ortQYzfPgUXfAMTMau90B0c+XmgUeGVHjT1mZubcD Ll9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version; bh=MUEMjdcUvewrcANqSxvDB81eIi2lLBzAmouxDFnG1O0=; b=jWxtyZoslse2kJf6hAcQJmsDCsme4ot2WjpNg8CpzAn6CXc35x6SMd91aFxtXfmrwf /tD1o5srjKpbZ5PsLSxaBsz0h3LzfwNmGv061ESfrmt9Un3lBCXZkGU5rtoazj1X+1m/ 2D5VyUOhnp7hs0VEkE2h7W/TIA+0IFsUE+w5pSPAQ9jJ2QJMQhF0PTFjUT1BNUmjmi7d M/UUhRogdGzPLD096ZB401JpMYVB1psoLcNjn/LdZvdc89mNvCnOrT7e6F/JFKLDcSq3 EXkMn6An5AQF0DjEsz4D8CsYEFgph7CaozFiQ0BTbD9L4U3uRFk3rfBUmcTkUkBQS4RY BirA== X-Gm-Message-State: AKaTC03uJtwDua11cWSLfgUXysqNUVjnqmRWwBWlKTzeJeUn/7PyK9JIY927S8AjZ5/Thd5J X-Received: by 10.99.98.2 with SMTP id w2mr65543954pgb.59.1480556231072; Wed, 30 Nov 2016 17:37:11 -0800 (PST) Received: from osaka.octopusnet (p5481128-ipngn4403marunouchi.tokyo.ocn.ne.jp. [180.0.6.128]) by smtp.gmail.com with ESMTPSA id s5sm50570550pgj.19.2016.11.30.17.37.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Nov 2016 17:37:10 -0800 (PST) From: Ian Barwick To: pgsql-docs@postgresql.org, "pgsql-hackers@postgresql.org" Subject: monitoring.sgml - clarify length of query text displayed in pg_stat_statements Message-ID: <93a64a95-03ed-d8d4-6ad9-9c87f6e5c06b@2ndquadrant.com> Date: Thu, 1 Dec 2016 10:37:08 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------3954C977BE4F066D82F532A8" X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org This is a multi-part message in MIME format. --------------3954C977BE4F066D82F532A8 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi Small doc patch to clarify how much of the query text is show in pg_stat_statements and a link to the relevant GUC. Regards Ian Barwick -- Ian Barwick http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services --------------3954C977BE4F066D82F532A8 Content-Type: text/x-patch; name="doc-pg-stat-statement-query-length.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="doc-pg-stat-statement-query-length.patch" diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml new file mode 100644 index 3de489e..02dab87 *** a/doc/src/sgml/monitoring.sgml --- b/doc/src/sgml/monitoring.sgml *************** postgres 27093 0.0 0.0 30096 2752 *** 785,791 **** Text of this backend's most recent query. If state is active this field shows the currently executing query. In all other states, it shows the last query ! that was executed. --- 785,793 ---- Text of this backend's most recent query. If state is active this field shows the currently executing query. In all other states, it shows the last query ! that was executed. By default the query text is truncated at 1024 ! characters; this value can be changed via the parameter ! . --------------3954C977BE4F066D82F532A8 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs --------------3954C977BE4F066D82F532A8--