diff -Nru pgtap-0.95.0/debian/changelog pgtap-0.95.0/debian/changelog --- pgtap-0.95.0/debian/changelog 2015-12-19 20:20:06.000000000 +0000 +++ pgtap-0.95.0/debian/changelog 2016-01-08 19:50:01.000000000 +0000 @@ -1,3 +1,9 @@ +pgtap (0.95.0-3) unstable; urgency=medium + + * Pull patch from upstream to fix 9.5 installcheck failure. + + -- Christoph Berg Fri, 08 Jan 2016 20:49:59 +0100 + pgtap (0.95.0-2) unstable; urgency=medium * Install html documentation instead of mmd. diff -Nru pgtap-0.95.0/debian/control pgtap-0.95.0/debian/control --- pgtap-0.95.0/debian/control 2015-12-19 20:03:00.000000000 +0000 +++ pgtap-0.95.0/debian/control 2016-01-08 19:48:37.000000000 +0000 @@ -44,11 +44,11 @@ . This package contains the documentation for pgTAP. -Package: postgresql-9.4-pgtap +Package: postgresql-9.5-pgtap Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, - postgresql-9.4 + postgresql-9.5 Replaces: pgtap (<< 0.95) Breaks: pgtap (<< 0.95) Recommends: pgtap-doc, @@ -56,7 +56,7 @@ libtest-harness-perl, libtap-harness-archive-perl Provides: postgresql-pgtap -Description: Unit testing framework extension for PostgreSQL 9.4 +Description: Unit testing framework extension for PostgreSQL 9.5 pgTAP is a suite of database functions that make it easy to write TAP-emitting unit tests in psql scripts suitable for harvesting, analysis, and reporting by a TAP harness, such as those used in Perl @@ -64,5 +64,5 @@ . TAP is the Test Anything Protocol (http://testanything.org/). . - This package contains the extension for PostgreSQL 9.4. + This package contains the extension for PostgreSQL 9.5. diff -Nru pgtap-0.95.0/debian/patches/febdfa6a36fdde49f0c491c045a431397bc80205.patch pgtap-0.95.0/debian/patches/febdfa6a36fdde49f0c491c045a431397bc80205.patch --- pgtap-0.95.0/debian/patches/febdfa6a36fdde49f0c491c045a431397bc80205.patch 1970-01-01 00:00:00.000000000 +0000 +++ pgtap-0.95.0/debian/patches/febdfa6a36fdde49f0c491c045a431397bc80205.patch 2016-01-01 12:47:23.000000000 +0000 @@ -0,0 +1,37 @@ +From febdfa6a36fdde49f0c491c045a431397bc80205 Mon Sep 17 00:00:00 2001 +From: "David E. Wheeler" +Date: Tue, 1 Dec 2015 11:06:53 -0800 +Subject: [PATCH] Fix test failure on 9.5. + +Just silence the warning on hash index creation. +--- + Changes | 1 + + test/sql/index.sql | 2 ++ + 2 files changed, 3 insertions(+) + +#diff --git a/Changes b/Changes +#index d3ad340..5960c2c 100644 +#--- a/Changes +#+++ b/Changes +#@@ -14,6 +14,7 @@ Revision history for pgTAP +# case-sensitive object names. Thanks to Ingo for the report! +# * Updated the Makefile to handle the case when PGXS sets the PERL variable to +# `missing perl`. +#+* Fixed a test failure due to the use of a hash index on PostgresSQL 9.5. +# +# 0.95.0 2015-03-20T20:31:41Z +# --------------------------- +diff --git a/test/sql/index.sql b/test/sql/index.sql +index 27dc980..31da0f6 100644 +--- a/test/sql/index.sql ++++ b/test/sql/index.sql +@@ -13,7 +13,9 @@ CREATE TABLE public.sometab( + myint NUMERIC(8) + ); + CREATE INDEX idx_hey ON public.sometab(numb); ++SET client_min_messages = error; + CREATE INDEX idx_foo ON public.sometab using hash(name); ++SET client_min_messages = warning; + CREATE INDEX idx_bar ON public.sometab(numb, name); + CREATE UNIQUE INDEX idx_baz ON public.sometab(LOWER(name)); + CREATE INDEX idx_mul ON public.sometab(numb, LOWER(name)); diff -Nru pgtap-0.95.0/debian/patches/series pgtap-0.95.0/debian/patches/series --- pgtap-0.95.0/debian/patches/series 2015-12-19 19:52:38.000000000 +0000 +++ pgtap-0.95.0/debian/patches/series 2016-01-01 12:47:23.000000000 +0000 @@ -1 +1,2 @@ Makefile-doc +febdfa6a36fdde49f0c491c045a431397bc80205.patch