pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Subject: Re: pgsql: Parameter toast_tuple_target controls TOAST for new rows
Date: Sun, 19 Nov 2017 20:30:45 -0500
Message-ID: <8972.1511141445@sss.pgh.pa.us> (raw)
In-Reply-To: <20171120005224.lgc5lourngvsibjv@alap3.anarazel.de>
References: <E1eGYRc-0004AR-Ok@gemulon.postgresql.org>
	<CANP8+jJH7HUxWVt-5FSawRgZR=Rqzg6+UAytMMvGivHXffHMzA@mail.gmail.com>
	<20171120001538.eugu2wmjpepq3hl5@alap3.anarazel.de>
	<7371.1511138941@sss.pgh.pa.us>
	<20171120005224.lgc5lourngvsibjv@alap3.anarazel.de>

Andres Freund <andres@anarazel.de> writes:
> On 2017-11-19 19:49:01 -0500, Tom Lane wrote:
>> TBH, I would just remove those test cases.  Even if they were stable
>> across platforms, they don't directly prove anything at all about
>> whether the feature does what it's supposed to.

> I think it might make sense to rewrite the tests so it doesn't output
> any of the sizes, but instead just compares the size of tables with
> different thresholds. That should be fairly reliable.

Hm, what I'd try after a bit of thought is to stuff the same data
into two different tables with different settings chosen to make it
TOAST or not, and then just test the toast tables for zero or nonzero
size.  Setting STORAGE = EXTERNAL on the data column to disable
compression would help make things more stable, too.

			regards, tom lane




view thread (9+ messages)  latest in thread

Message-ID: <8972.1511141445@sss.pgh.pa.us>
Permalink:  ../8972.1511141445@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8972.1511141445@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, simon@2ndquadrant.com
  Subject: Re: pgsql: Parameter toast_tuple_target controls TOAST for new rows
  In-Reply-To: <8972.1511141445@sss.pgh.pa.us>
  References: <E1eGYRc-0004AR-Ok@gemulon.postgresql.org> <CANP8+jJH7HUxWVt-5FSawRgZR=Rqzg6+UAytMMvGivHXffHMzA@mail.gmail.com> <20171120001538.eugu2wmjpepq3hl5@alap3.anarazel.de> <7371.1511138941@sss.pgh.pa.us> <20171120005224.lgc5lourngvsibjv@alap3.anarazel.de> <8972.1511141445@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox