Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2at2-0005Wm-2x for pgsql-docs@arkaria.postgresql.org; Tue, 17 May 2016 09:01:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b2at1-00013Y-HQ for pgsql-docs@arkaria.postgresql.org; Tue, 17 May 2016 09:01:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b2at0-00012F-JW for pgsql-docs@postgresql.org; Tue, 17 May 2016 09:01:54 +0000 Received: from mail-lf0-x233.google.com ([2a00:1450:4010:c07::233]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1b2asw-0001uL-Kv for pgsql-docs@postgresql.org; Tue, 17 May 2016 09:01:53 +0000 Received: by mail-lf0-x233.google.com with SMTP id y84so3965587lfc.0 for ; Tue, 17 May 2016 02:01:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:subject:message-id:date:to:mime-version; bh=n9sphC59UzuKrkP9hVzLUGteMtvLTXrRtmK90od05T4=; b=OdUUJ3iBiJISoO+fxwbHIlW5zpRWTBFPD14yCOeU6aunbhneZcUREBSI0M4hMjwb0K mDPIWg4nNC6T84zyTgnyWMzCaRJcLsxP5O8oaavE8/JEYKtAtqVxG/VT1DIJR0mj65F1 w3ePnzpU+6TYXvLKd0dBDAFYqv0L50X/3vEFGxlyHcm85tR+8ZNgtlxfVzj61p3GKpiU oLxD1u88uaVB3Ho9lfckZdNu4fIaWbOFMV6Fhy5pxQMjDgUJKgrLX/3tKxl33mR0doZG ylH2GwgCWxjgAi0Awc0ekZzNycj/peZCRwfLNVZM65gfNb3Ra3oUSVUI6HTl09TV4FN9 ElHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:subject:message-id:date:to :mime-version; bh=n9sphC59UzuKrkP9hVzLUGteMtvLTXrRtmK90od05T4=; b=VfXZBkGu8rg6o5Rv7TUwDORk/G35Rn2FutNvE1FXEphn7rgreG5RoQr+p1H+r6bag7 g27QlqRhmv52l3PShE7l62RNAsiY6LO2H+QHGftEOgGskRRhnPgWDOS8YzEH62+Cn6lW 4GH80Kn1Xq+pcYN/cufqt1ycQGZlDfeoLXApymvwZiayZSigRajzp1zeYJgXG9UWBW8q XgqIJKIhHDZG0ybu6zcUPiBIiImqXBEeCR6IyCKd0oyxglY57NYMnxMKqkavCK/38DFc COqSmsXAP4h0KJp4wF6WyBCyTQXD8s3q8VeTkz3A7Upe7Qx9LemufuUuzMYfEpDvJIdz fLOg== X-Gm-Message-State: AOPr4FXor6UiTM2S+GVVXOaznIKudNGjwuzR05/EcwmPbyUN/sXAUf2yMAXfrpb6Z77Jxg== X-Received: by 10.25.24.35 with SMTP id o35mr56781lfi.25.1463475709524; Tue, 17 May 2016 02:01:49 -0700 (PDT) Received: from [192.168.1.64] (c-fe23e455.027-294-73746f71.cust.bredbandsbolaget.se. [85.228.35.254]) by smtp.gmail.com with ESMTPSA id i3sm321165lbd.44.2016.05.17.02.01.47 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 May 2016 02:01:48 -0700 (PDT) From: Daniel Gustafsson Content-Type: multipart/mixed; boundary="Apple-Mail=_69D0CDD3-F4E0-458F-91A7-BBFD707F2ED0" Subject: contrib/intarray programlisting refers to pre-extension file Message-Id: <88E617F2-7721-4C4E-84F4-886A2041C1D0@yesql.se> Date: Tue, 17 May 2016 11:01:47 +0200 To: pgsql-docs@postgresql.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org --Apple-Mail=_69D0CDD3-F4E0-458F-91A7-BBFD707F2ED0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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 (comm= it 629b3af) in favor of intarray=E2=80=94x.y.sql. Attached patch use =E2=80= =9Cpsql -c=E2=80=9D to create the extension instead of piping in the now removed file. cheers ./daniel --Apple-Mail=_69D0CDD3-F4E0-458F-91A7-BBFD707F2ED0 Content-Disposition: attachment; filename=bench_listing.diff Content-Type: application/octet-stream; name="bench_listing.diff" Content-Transfer-Encoding: 7bit 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&2'::query_int; cd .../bench createdb TEST -psql TEST < ../_int.sql +psql TEST -c "CREATE EXTENSION intarray;" ./create_test.pl | psql TEST ./bench.pl --Apple-Mail=_69D0CDD3-F4E0-458F-91A7-BBFD707F2ED0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii --Apple-Mail=_69D0CDD3-F4E0-458F-91A7-BBFD707F2ED0 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs --Apple-Mail=_69D0CDD3-F4E0-458F-91A7-BBFD707F2ED0--