public inbox for [email protected]  
help / color / mirror / Atom feed
contrib/intarray programlisting refers to pre-extension file
3+ messages / 2 participants
[nested] [flat]

* contrib/intarray programlisting refers to pre-extension file
@ 2016-05-17 09:01 Daniel Gustafsson <[email protected]>
  2016-05-21 19:47 ` Re: contrib/intarray programlisting refers to pre-extension file Tom Lane <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Daniel Gustafsson @ 2016-05-17 09:01 UTC (permalink / raw)
  To: pgsql-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>


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: contrib/intarray programlisting refers to pre-extension file
  2016-05-17 09:01 contrib/intarray programlisting refers to pre-extension file Daniel Gustafsson <[email protected]>
@ 2016-05-21 19:47 ` Tom Lane <[email protected]>
  2016-05-21 20:35   ` Re: contrib/intarray programlisting refers to pre-extension file Daniel Gustafsson <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2016-05-21 19:47 UTC (permalink / raw)
  To: Daniel Gustafsson <[email protected]>; +Cc: pgsql-docs

Daniel Gustafsson <[email protected]> writes:
> 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.

Pushed, thanks.

			regards, tom lane


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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: contrib/intarray programlisting refers to pre-extension file
  2016-05-17 09:01 contrib/intarray programlisting refers to pre-extension file Daniel Gustafsson <[email protected]>
  2016-05-21 19:47 ` Re: contrib/intarray programlisting refers to pre-extension file Tom Lane <[email protected]>
@ 2016-05-21 20:35   ` Daniel Gustafsson <[email protected]>
  0 siblings, 0 replies; 3+ messages in thread

From: Daniel Gustafsson @ 2016-05-21 20:35 UTC (permalink / raw)
  To: Tom Lane <[email protected]>; +Cc: pgsql-docs

> On 21 May 2016, at 21:47, Tom Lane <[email protected]> wrote:
> 
> Daniel Gustafsson <[email protected]> writes:
>> 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.
> 
> Pushed, thanks.

Good idea to document the dependency on DBD::Pg, thanks!

cheers ./daniel



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




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2016-05-21 20:35 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-05-17 09:01 contrib/intarray programlisting refers to pre-extension file Daniel Gustafsson <[email protected]>
2016-05-21 19:47 ` Tom Lane <[email protected]>
2016-05-21 20:35   ` Daniel Gustafsson <[email protected]>

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