Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 768d6f9

Browse files
committed
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>
1 parent 82eafab commit 768d6f9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

doc/src/sgml/intarray.sgml

+5-3
Original file line numberDiff line numberDiff line change
@@ -309,13 +309,15 @@ SELECT message.mid FROM message WHERE message.sections @@ '1&amp;2'::query_int;
309309

310310
<para>
311311
The source directory <filename>contrib/intarray/bench</> contains a
312-
benchmark test suite. To run:
312+
benchmark test suite, which can be run against an installed
313+
<productname>PostgreSQL</> server. (It also requires <filename>DBD::Pg</>
314+
to be installed.) To run:
313315
</para>
314316

315317
<programlisting>
316-
cd .../bench
318+
cd .../contrib/intarray/bench
317319
createdb TEST
318-
psql TEST &lt; ../_int.sql
320+
psql -c "CREATE EXTENSION intarray" TEST
319321
./create_test.pl | psql TEST
320322
./bench.pl
321323
</programlisting>

0 commit comments

Comments
 (0)