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 1f23Bq-00009D-Fz for pgsql-hackers@arkaria.postgresql.org; Fri, 30 Mar 2018 23:12:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f23Bp-0002D1-H2 for pgsql-hackers@arkaria.postgresql.org; Fri, 30 Mar 2018 23:12:09 +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.89) (envelope-from ) id 1f23Bp-0002Cr-6m for pgsql-hackers@lists.postgresql.org; Fri, 30 Mar 2018 23:12:09 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f23Bm-0003Vz-Lb for pgsql-hackers@postgresql.org; Fri, 30 Mar 2018 23:12:08 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w2UNB2RT011427; Fri, 30 Mar 2018 19:11:02 -0400 From: Tom Lane To: Chapman Flack cc: Stephen Frost , Tomas Vondra , Michael Paquier , Daniel Gustafsson , Michael Paquier , Heikki Linnakangas , Robert Haas , Bruce Momjian , PostgreSQL Hackers Subject: Re: [HACKERS] AdvanceXLInsertBuffer vs. WAL segment compressibility In-reply-to: <5ABEC2C0.5040207@anastigmatix.net> References: <46FFB930-B0F3-400A-85ED-D9948C97FADF@yesql.se> <5AAEE00E.9050503@anastigmatix.net> <21C25ED8-4ED8-4AD4-B551-3E3987ECB18F@yesql.se> <5AAEFF11.3070903@anastigmatix.net> <20180326032731.GM24540@tamriel.snowman.net> <20180326054354.GB2759@paquier.xyz> <5ABAC668.5080203@anastigmatix.net> <8c00b26a-d6da-5764-e67e-9c4d8128081a@2ndquadrant.com> <5ABD9083.5050908@anastigmatix.net> <12915.1522433926@sss.pgh.pa.us> <20180330182423.GS24540@tamriel.snowman.net> <24353.1522441284@sss.pgh.pa.us> <5ABEC2C0.5040207@anastigmatix.net> Comments: In-reply-to Chapman Flack message dated "Fri, 30 Mar 2018 19:05:36 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11425.1522451462.1@sss.pgh.pa.us> Date: Fri, 30 Mar 2018 19:11:02 -0400 Message-ID: <11426.1522451462@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Chapman Flack writes: > On 03/30/18 16:21, Tom Lane wrote: >> I did not like the proposed test case too much, particularly not its >> undocumented API change for check_pg_config, > Other than that API change, was there something the test case could have > done differently to make you like it more? Well, if that'd been properly documented I'd probably have pushed it without complaint. But I did wonder whether it could've been folded into one of the existing tests of pg_switch_wal(). This doesn't seem like a property worth spending a lot of cycles on testing. regards, tom lane