Improve docs about contrib/intarray's benchmark suite.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 21 May 2016 19:43:57 +0000 (15:43 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 21 May 2016 19:43:57 +0000 (15:43 -0400)
Correct obsolete install instructions, as noted by Daniel Gustafsson.
Clarify the test code's prerequisites.

Discussion: <88E617F2-7721-4C4E-84F4-886A2041C1D0@yesql.se>

doc/src/sgml/intarray.sgml

index a054d126f7126fb54f35ffb475d1281be0660c1c..aae6022c3317fa6fc327c17f2c57a9b34a6cdb29 100644 (file)
@@ -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>