Commit 768d6f90 authored by Tom Lane's avatar Tom Lane

Improve docs about contrib/intarray's benchmark suite.

Correct obsolete install instructions, as noted by Daniel Gustafsson.
Clarify the test code's prerequisites.

Discussion: <88E617F2-7721-4C4E-84F4-886A2041C1D0@yesql.se>
parent 82eafabe
......@@ -309,13 +309,15 @@ SELECT message.mid FROM message WHERE message.sections @@ '1&amp;2'::query_int;
<para>
The source directory <filename>contrib/intarray/bench</> contains a
benchmark test suite. To run:
benchmark test suite, which can be run against an installed
<productname>PostgreSQL</> server. (It also requires <filename>DBD::Pg</>
to be installed.) To run:
</para>
<programlisting>
cd .../bench
cd .../contrib/intarray/bench
createdb TEST
psql TEST &lt; ../_int.sql
psql -c "CREATE EXTENSION intarray" TEST
./create_test.pl | psql TEST
./bench.pl
</programlisting>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment