Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCGRk-0007Pe-EC for pgsql-docs@arkaria.postgresql.org; Thu, 01 Dec 2016 01:46:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cCGRj-0005p6-F2 for pgsql-docs@arkaria.postgresql.org; Thu, 01 Dec 2016 01:45:59 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cCGRi-0005oO-49 for pgsql-docs@postgresql.org; Thu, 01 Dec 2016 01:45:58 +0000 Received: from mail-pg0-x22e.google.com ([2607:f8b0:400e:c05::22e]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cCGRf-0007aN-4A for pgsql-docs@postgresql.org; Thu, 01 Dec 2016 01:45:56 +0000 Received: by mail-pg0-x22e.google.com with SMTP id f188so88110053pgc.3 for ; Wed, 30 Nov 2016 17:45:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:message-id:date:user-agent:mime-version; bh=X/SU1TWeVGIZH900/UmDAj5JLbw9sxnGuGmHnJZ36v8=; b=jBA//5/pwAJe2prhP/jp1qYVxs7oTFTls2clMoYtrdYe5CV4oTSQ8qpGT9WemRQUMo 9xbrXlKwT9IADyX1U6gKSMZZCAtC6N16TO8VWRP9/ebiIbfi8/bS2b4ukzGKlOUGXFdg Czh4nIZWb0h/XCJWy583+kPUwXj5vvHM4ByuK7kHabOrCyATtmKQSRZw2JmlYqRVwDgy LGF2BGA6CpL0DFbAZzQxDhI1VLZxsYbKZ+AkfyZt3w6HaNLK3HHlIEJuI+euDl/Q5POK fUnnNfoagrMiQTYQpsoJuMy+ifCfu1PX+5G0V9QM1EY/9p34bkbTe+wnXS7yH+ytjlVX c3sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version; bh=X/SU1TWeVGIZH900/UmDAj5JLbw9sxnGuGmHnJZ36v8=; b=llFr9xUoSP2cJl9QXid9NPAsMY0U+ECVOKeHj5nf7AjgFkS/dAFxV4XaTBlTiHTjxU sncB+kbutlVnD1ZSh7FY4uqwIbUx0GOg8iKBWGgQRMNWGXCtSgL6mILShkQzrv2MAETr S30v8REjUGuW0T9t2ALss5eYvYYTFzI8qgUkriDbG0hkxe9EfxbUwNhZcOqmJI0IaNBy B4RJMFqzbXOglA0exTpxieVEu/RjdRzn1wfuB6TmtvnfGBnXjd9FY2zDW3s+Lw6MdLRy 6WSpzv2LqMEAQb5QkmpnlQdM1r3CTATRiKnV0uuMI+Mgd7iMQZhalgsBMPzKnVs6VNE2 JYcw== X-Gm-Message-State: AKaTC01jLKyVP10Yw6mdL1qss2kD8695njbP34zQoXP8MzW8O8sNQaNhYADTbONEcj0WaTLo X-Received: by 10.84.143.162 with SMTP id 31mr14509855plz.2.1480556753623; Wed, 30 Nov 2016 17:45:53 -0800 (PST) Received: from osaka.octopusnet (p5481128-ipngn4403marunouchi.tokyo.ocn.ne.jp. [180.0.6.128]) by smtp.gmail.com with ESMTPSA id p26sm87885128pgn.11.2016.11.30.17.45.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Nov 2016 17:45:53 -0800 (PST) From: Ian Barwick Subject: monitoring.sgml - clarify length of query text displayed in pg_stat_statements To: pgsql-docs@postgresql.org, "pgsql-hackers@postgresql.org" Message-ID: <22273199-d124-1543-cf49-5a34253acbb8@2ndquadrant.com> Date: Thu, 1 Dec 2016 10:45:51 +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="------------E73D9BEB84E734127179174E" 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. --------------E73D9BEB84E734127179174E 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 --------------E73D9BEB84E734127179174E 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 ! . --------------E73D9BEB84E734127179174E 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 --------------E73D9BEB84E734127179174E--