The Postgres documentation for the EXPLAIN command states that
Examples in this section are drawn from the regression test database after doing a VACUUM ANALYZE, using 9.3 development sources. You should be able to get similar results if you try the examples yourself (...)
How do I set up the regression test database?
The documentation is here.
You ./configure and make install the PostgreSQL software, then create a database cluster with initdb.
Then you set PGPORT and PGUSER (if you want something nonstandard) and run
make installcheck
for the regular test suite or
make installcheck-world
for the extended test suite.
After that, you'll have a new database called regression with all kinds of objects created by the tests, which can be useful for testing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With