mirror of
https://github.com/postgres/postgres.git
synced 2025-05-29 00:03:09 -04:00
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>
This commit is contained in:
parent
82eafabeaa
commit
768d6f90f9
@ -309,13 +309,15 @@ SELECT message.mid FROM message WHERE message.sections @@ '1&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 < ../_int.sql
|
||||
psql -c "CREATE EXTENSION intarray" TEST
|
||||
./create_test.pl | psql TEST
|
||||
./bench.pl
|
||||
</programlisting>
|
||||
|
Loading…
x
Reference in New Issue
Block a user