Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eGZkc-0005gc-5W for pgsql-committers@arkaria.postgresql.org; Mon, 20 Nov 2017 00:15:50 +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 1eGZkb-0003n2-Oo for pgsql-committers@arkaria.postgresql.org; Mon, 20 Nov 2017 00:15:49 +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 1eGZkb-0003ms-K6 for pgsql-committers@lists.postgresql.org; Mon, 20 Nov 2017 00:15:49 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eGZkT-0008Pp-Hi for pgsql-committers@postgresql.org; Mon, 20 Nov 2017 00:15:49 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 15F58208A4; Sun, 19 Nov 2017 19:15:40 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Sun, 19 Nov 2017 19:15:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=WVAI6gdn37TKu8t//qMZCkXb4yvQ0 PgwjXLlSLEhgMU=; b=eH51qtXIy2jcPPdx5ubs6iyIMceWKKVNOJikRo/HL7Jtj dl99UF4QHYUpJsQ7iAXZlz1Sj0ZI1Im8nwjP5YAjtGYmgFYL5vOeA39MWGN62dfq Xb2KmjH1yW5bomxxOAa9pmWv28Z+9PvOW+UE7grLcayWE3YD+tBSCJJMWKGPQqz1 sOxsPeN1XjlqwNwQqd9bU5f3TEn+PBrehSF4yyBt7SWuLCLvt9fXiH4jvOVThYpq g0QlqpnXdzZPQ8LX9LfTGQzWBEuHEnCj2qYC6ZxEsyoz6u2U265nMA1qKxG/6m4g OopTB/cVdxsTRgZNNEV8BdvrD/B4nHK1pB3D+98YA== X-ME-Sender: Received: from intern.anarazel.de (unknown [136.24.76.189]) by mail.messagingengine.com (Postfix) with ESMTPA id C18B724285; Sun, 19 Nov 2017 19:15:39 -0500 (EST) Date: Sun, 19 Nov 2017 16:15:38 -0800 From: Andres Freund To: Simon Riggs Cc: pgsql-committers Subject: Re: pgsql: Parameter toast_tuple_target controls TOAST for new rows Message-ID: <20171120001538.eugu2wmjpepq3hl5@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2017-11-19 19:08:48 -0500, Simon Riggs wrote: > On 19 November 2017 at 17:52, Simon Riggs wrote: > > Parameter toast_tuple_target controls TOAST for new rows > > > > Specifies the point at which we try to move long column values > > into TOAST tables. > > > > No effect on existing rows. > > > > Discussion: https://postgr.es/m/CANP8+jKsVmw6CX6YP9z7zqkTzcKV1+Uzr3XjKcZW=2Ya00OyQQ@mail.gmail.com > > > > Author: Simon Riggs > > Reviewed-by: Andrew Dunstan > > > > Branch > > ------ > > master > > > > Details > > ------- > > https://git.postgresql.org/pg/commitdiff/c2513365a0a85e77d3c21adb92fe12cfbe0d1897 > > > > Modified Files > > -------------- > > doc/src/sgml/ref/alter_table.sgml | 2 +- > > doc/src/sgml/ref/create_table.sgml | 21 +++++++++++++++ > > src/backend/access/common/reloptions.c | 12 +++++++++ > > src/backend/access/heap/tuptoaster.c | 2 +- > > src/include/utils/rel.h | 9 +++++++ > > src/test/regress/expected/strings.out | 47 ++++++++++++++++++++++++++++++++++ > > src/test/regress/sql/strings.sql | 19 ++++++++++++++ > > 7 files changed, 110 insertions(+), 2 deletions(-) > > Am investigating the few buildfarm failures The tests look very sensitive to differences in tuple size due to different alignment requirements. Dependant on what MAXALIGN (and some others) is the number of tuples fitting on a page will differ. Greetings, Andres Freund