Re: Heap page diagnostic/test functions (v2) - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Heap page diagnostic/test functions (v2)
Date
Msg-id 200704072219.l37MJ7r11140@momjian.us
Whole thread Raw
In response to Re: Heap page diagnostic/test functions (v2)  ("Simon Riggs" <simon@2ndquadrant.com>)
Responses Re: Heap page diagnostic/test functions (v2)  ("Simon Riggs" <simon@2ndquadrant.com>)
List pgsql-patches
Simon Riggs wrote:
> On Sat, 2007-04-07 at 11:53 -0400, Bruce Momjian wrote:
>
> > This looks useful, but shouldn't it be part of /contrib/pgstattuple
> > rather than in the backend?
>
> Well, this was written with a view to it being usable for writing test
> cases that checked the various tuple states as we went. It was
> originally proposed when Tom asked "How will we test HOT?" (concurrent
> psql is the other half of the required base functionality to write
> sensible test cases).
>
> If we see it as a manual test tool only, contrib is OK. But it has to be
> in the backend to be usable in the regression test suite, so thats where
> it was designed to go.

Well, contrib can have its own regression tests.  We can put the HOT
tests in there too.

--
  Bruce Momjian  <bruce@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-patches by date:

Previous
From: "Simon Riggs"
Date:
Subject: Re: Heap page diagnostic/test functions (v2)
Next
From: "Simon Riggs"
Date:
Subject: Re: LIMIT/SORT optimization