public inbox for [email protected]  
help / color / mirror / Atom feed
From: Daniel Gustafsson <[email protected]>
To: [email protected]
Subject: contrib/intarray programlisting refers to pre-extension file
Date: Tue, 17 May 2016 11:01:47 +0200
Message-ID: <[email protected]> (raw)
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>

The programlisting for invoking the bench.pl script in contrib/intarray is
referring to the pre-extension file _int.sql which was removed in 9.1 (commit
629b3af) in favor of intarray—x.y.sql.  Attached patch use “psql -c” to create
the extension instead of piping in the now removed file.

cheers ./daniel






-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


Attachments:

  [application/octet-stream] bench_listing.diff (444B, 2-bench_listing.diff)
  download | inline diff:
diff --git a/doc/src/sgml/intarray.sgml b/doc/src/sgml/intarray.sgml
index a054d12..839a68a 100644
--- a/doc/src/sgml/intarray.sgml
+++ b/doc/src/sgml/intarray.sgml
@@ -315,7 +315,7 @@ SELECT message.mid FROM message WHERE message.sections @@ '1&amp;2'::query_int;
 <programlisting>
 cd .../bench
 createdb TEST
-psql TEST &lt; ../_int.sql
+psql TEST -c "CREATE EXTENSION intarray;"
 ./create_test.pl | psql TEST
 ./bench.pl
 </programlisting>


view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: contrib/intarray programlisting refers to pre-extension file
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox