summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2016-05-21 19:43:57 +0000
committerTom Lane2016-05-21 19:43:57 +0000
commit768d6f90f9e44af96c22135a8eb1e83ed73c422b (patch)
treea4b4832001a1ce83c5a8af90ea498e79b2e73a13
parent82eafabeaaf12231a85ed67bbf4eae698aacb1c9 (diff)
Improve docs about contrib/intarray's benchmark suite.
Correct obsolete install instructions, as noted by Daniel Gustafsson. Clarify the test code's prerequisites. Discussion: <[email protected]>
-rw-r--r--doc/src/sgml/intarray.sgml8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/src/sgml/intarray.sgml b/doc/src/sgml/intarray.sgml
index a054d126f7..aae6022c33 100644
--- a/doc/src/sgml/intarray.sgml
+++ b/doc/src/sgml/intarray.sgml
@@ -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>