From 768d6f90f9e44af96c22135a8eb1e83ed73c422b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 21 May 2016 15:43:57 -0400 Subject: [PATCH] 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> --- doc/src/sgml/intarray.sgml | 8 +++++--- 1 file 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&2'::query_int; The source directory contrib/intarray/bench contains a - benchmark test suite. To run: + benchmark test suite, which can be run against an installed + PostgreSQL server. (It also requires DBD::Pg + to be installed.) To run: -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 -- 2.40.0