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

Lines changed: 5 additions & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy