Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id DE3DF632B59 for ; Sun, 30 May 2010 00:37:51 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 68177-04 for ; Sun, 30 May 2010 03:37:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id E32B163258A for ; Sun, 30 May 2010 00:37:44 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o4U3bf4q028483; Sat, 29 May 2010 23:37:41 -0400 (EDT) To: Greg Smith cc: pgsql-docs@postgresql.org Subject: Re: Explain docs and the regression database In-reply-to: <4C01CE67.8010709@2ndquadrant.com> References: <4C01CE67.8010709@2ndquadrant.com> Comments: In-reply-to Greg Smith message dated "Sat, 29 May 2010 22:33:11 -0400" Date: Sat, 29 May 2010 23:37:40 -0400 Message-ID: <28482.1275190660@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201005/66 X-Sequence-Number: 5563 Greg Smith writes: > The introduction to using EXPLAIN: > http://developer.postgresql.org/pgdocs/postgres/using-explain.html > includes a footnote at the bottom suggesting you might follow along with > these examples because they come from the regression test database. > This would really be a lot more useful if it gave some sort of clue just > how exactly a user might get that database populated with that > regression data. You run the regression tests. > I'm not even quite sure myself exactly what point in > the regression testing cycle these examples came from. The ending state. > Another open > question in my head is whether enough pieces of the regression set are > shipped in the most common packaging sets that it's ever practical to > expect users to run the tests at all. Thoughts? In Fedora/RHEL, and I believe also the PGDG RPMs, you'd install the postgresql-test RPM and run it per directions. regards, tom lane