Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1enidT-0006KS-Hk for pgsql-docs@arkaria.postgresql.org; Mon, 19 Feb 2018 10:25:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enidS-0003Jr-LR for pgsql-docs@arkaria.postgresql.org; Mon, 19 Feb 2018 10:25:26 +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 1enidS-0003Ji-8d for pgsql-docs@lists.postgresql.org; Mon, 19 Feb 2018 10:25:26 +0000 Received: from mail-lf0-x22a.google.com ([2a00:1450:4010:c07::22a]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1enidO-0003zE-Pt for pgsql-docs@lists.postgresql.org; Mon, 19 Feb 2018 10:25:25 +0000 Received: by mail-lf0-x22a.google.com with SMTP id h78so12347392lfg.6 for ; Mon, 19 Feb 2018 02:25:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=LIQtrXuFnQkTF8uFSsOjA6+Z2uzwc62NWeAIesJECL0=; b=XcNGnEoK0ow7fT1btzLl0L5yhWWnYPAWsm3tEfManTx6/749kBeD4d+fUl2eSq4ecw vxW62v8Ur2jMJMdbSZUOKt12zjihfWAOD4c/YoM5ph9KFl1/X0XazHE2yBCDJLzxDW20 twO+eBBX4uW5AbYmjR9lgx+HiLqrwxjunxlccqw6epfnsGgRe8S396AlnCH4qqqiJZb6 uMwpzJn1G0UIxkoJ1LIJQDa8F4j7yXUOCriPjoJ3mwpZPUUcthpEWSUo0dxhrpHCG8c1 1iPa8wPme9NU98TePumCkNyvCZKEFGsxrnMh9jY0kEEbpTnm1yNjmB2g3pa1G+LY/Nzu qdRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=LIQtrXuFnQkTF8uFSsOjA6+Z2uzwc62NWeAIesJECL0=; b=sMZZiBTUH83vcNh5jow15xNXGxLvsgCGOZnVGSqQT4v8cN3DG7YqetflGQSbd1bEf9 GVLdSYv91mXpG5YsdB5AdqiO1WhPC1RmaE+kcztxy1OyCfIs86QBFruhdmf6I7nR+vB8 gYaGoiAHz6LFoyPvjrAtQIG6K9UOCvMGp9WVCwONsbmJCcXQKr29IH5yfR3hej0vRCTM L6+NMBpKd8+SMv3rYkANtCaDhVdUS8/tzPfpkGUyL6Imu80z4m7QgsSXwPPyeBCLruy2 3IXTuncunIski21JA4oXE2s2EenA4IF1DHmB/A5OJbdz91ZhnBoGaZ1q1Wgz24ASxGfi cZeg== X-Gm-Message-State: APf1xPBXeUkpC76A6fWqjBNp34GinnM75EGkNtMG2QOzW7V/F7JM6unw uIT/sqR2Gs2+LLmoUVTxwO9GeF3P X-Google-Smtp-Source: AH8x224Ky9bku3I2u7uo/CoqcR6LpTrfdWs2RgpjsH+wg5jIT69XNAhinXziURRWv4I2WFctRwkHow== X-Received: by 10.46.32.11 with SMTP id g11mr646728ljg.75.1519035918856; Mon, 19 Feb 2018 02:25:18 -0800 (PST) Received: from [10.3.1.85] ([185.62.200.137]) by smtp.gmail.com with ESMTPSA id j188sm4846452lfg.47.2018.02.19.02.25.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Feb 2018 02:25:17 -0800 (PST) To: pgsql-docs@lists.postgresql.org From: Maksim Milyutin Subject: Fix links to pg_stat_replication and definition of checkpoint_warning GUC Message-ID: <242ec876-177d-66f5-144c-48ee217e99a9@gmail.com> Date: Mon, 19 Feb 2018 13:25:16 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------C2DDD73C095B4837808A96F3" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------C2DDD73C095B4837808A96F3 Content-Type: multipart/alternative; boundary="------------428FB61313520AC8D7AFACD6" --------------428FB61313520AC8D7AFACD6 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello everyone! I have noticed that in documentation for PG versions before 11devel some *pg_stat_replication/* /links refer to *collected statistic views* table instead of itself definition. Fixes for version 10.2 are gathered in fix_pg_stat_replication_links_doc.patch Also I am confused by the definition of *checkpoint_warning* parameter, namely the phrase "caused by the filling of checkpoint segment files". I think the word "checkpoint" is unnecessary here. I tried to rephrase this definition in fix_checkpoint_warning_definition_doc.patch. -- Regards, Maksim Milyutin --------------428FB61313520AC8D7AFACD6 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

Hello everyone!


I have noticed that in documentation for PG versions before 11devel some *pg_stat_replication* links refer to *collected statistic views* table instead of itself definition. Fixes for version 10.2 are gathered in fix_pg_stat_replication_links_doc.patch


Also I am confused by the definition of *checkpoint_warning* parameter, namely the phrase "caused by the filling of checkpoint segment files". I think the word "checkpoint" is unnecessary here. I tried to rephrase this definition in fix_checkpoint_warning_definition_doc.patch.


-- 
Regards,
Maksim Milyutin
--------------428FB61313520AC8D7AFACD6-- --------------C2DDD73C095B4837808A96F3 Content-Type: text/x-patch; name="fix_checkpoint_warning_definition_doc.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="fix_checkpoint_warning_definition_doc.patch" diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 8f55026..2472b2d 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -2751,8 +2751,8 @@ include_dir 'conf.d' Write a message to the server log if checkpoints caused by - the filling of checkpoint segment files happen closer together - than this many seconds (which suggests that + the achieving maximum amount of filled segment files happen closer + together than this many seconds (which suggests that max_wal_size ought to be raised). The default is 30 seconds (30s). Zero disables the warning. No warnings will be generated if checkpoint_timeout --------------C2DDD73C095B4837808A96F3 Content-Type: text/x-patch; name="fix_pg_stat_replication_links_doc.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="fix_pg_stat_replication_links_doc.patch" diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 8f55026..64a28f5 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -3096,7 +3096,7 @@ include_dir 'conf.d' in this list, and that are both currently connected and streaming data in real-time (as shown by a state of streaming in the - + pg_stat_replication view). Specifying more than one synchronous standby can allow for very high availability and protection against data loss. @@ -3344,7 +3344,7 @@ ANY num_sync ( + pg_stat_replication view. The standby will report the last write-ahead log location it has written, the last position it has flushed to disk, and the last position it has applied. diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml index 6c54fbd..2737b31 100644 --- a/doc/src/sgml/high-availability.sgml +++ b/doc/src/sgml/high-availability.sgml @@ -890,7 +890,7 @@ primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass' You can retrieve a list of WAL sender processes via the - + pg_stat_replication view. Large differences between pg_current_wal_lsn and the view's sent_lsn field might indicate that the master server is under heavy load, while diff --git a/doc/src/sgml/release-10.sgml b/doc/src/sgml/release-10.sgml index dbb1a9b..7ef7025 100644 --- a/doc/src/sgml/release-10.sgml +++ b/doc/src/sgml/release-10.sgml @@ -3416,7 +3416,7 @@ Branch: REL_10_STABLE [5159626af] 2017-11-03 14:14:16 -0400 --> Add columns to pg_stat_replication + linkend="pg-stat-replication-view">pg_stat_replication to report replication delay times (Thomas Munro) diff --git a/doc/src/sgml/release-9.1.sgml b/doc/src/sgml/release-9.1.sgml index 0454f84..b8cb7e3 100644 --- a/doc/src/sgml/release-9.1.sgml +++ b/doc/src/sgml/release-9.1.sgml @@ -9667,7 +9667,7 @@ Branch: REL9_0_STABLE [9d6af7367] 2015-08-15 11:02:34 -0400 Add system view pg_stat_replication + linkend="pg-stat-replication-view">pg_stat_replication which displays activity of WAL sender processes (Itagaki Takahiro, Simon Riggs) diff --git a/doc/src/sgml/release-9.5.sgml b/doc/src/sgml/release-9.5.sgml index 56de825..6ccb6f5 100644 --- a/doc/src/sgml/release-9.5.sgml +++ b/doc/src/sgml/release-9.5.sgml @@ -6725,7 +6725,7 @@ max_wal_size = (3 * checkpoint_segments) * 16MB --> The pg_stat_replication + linkend="pg-stat-replication-view">pg_stat_replication system view's sent field is now NULL, not zero, when it has no valid value (Magnus Hagander) --------------C2DDD73C095B4837808A96F3--