From 85fe801966b926dbc4991ea03b6a87d583ea02b8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 20 May 2016 11:55:08 +0200 Subject: php-pecl-pq: 1.1.1 (php 5) --- REFLECTION | 16 ++++++++++++---- php-pecl-pq.spec | 16 +++++++++++++++- 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/REFLECTION b/REFLECTION index 3407e5c..8249c13 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #204 pq version 1.0.1 ] { +Extension [ extension #205 pq version 1.1.1 ] { - Dependencies { Dependency [ raphf (Required) ] @@ -535,7 +535,7 @@ Extension [ extension #204 pq version 1.0.1 ] { - Static methods [0] { } - - Properties [20] { + - Properties [21] { Property [ public $status ] Property [ public $transactionStatus ] Property [ public $socket ] @@ -543,6 +543,7 @@ Extension [ extension #204 pq version 1.0.1 ] { Property [ public $busy ] Property [ public $encoding ] Property [ public $unbuffered ] + Property [ public $nonblocking ] Property [ public $db ] Property [ public $user ] Property [ public $pass ] @@ -558,7 +559,7 @@ Extension [ extension #204 pq version 1.0.1 ] { Property [ public $defaultAutoConvert ] } - - Methods [30] { + - Methods [31] { Method [ public method __construct ] { - Parameters [2] { @@ -585,6 +586,12 @@ Extension [ extension #204 pq version 1.0.1 ] { } } + Method [ public method flush ] { + + - Parameters [0] { + } + } + Method [ public method exec ] { - Parameters [1] { @@ -1043,10 +1050,11 @@ Extension [ extension #204 pq version 1.0.1 ] { - Static methods [0] { } - - Properties [8] { + - Properties [9] { Property [ public $status ] Property [ public $statusMessage ] Property [ public $errorMessage ] + Property [ public $diag ] Property [ public $numRows ] Property [ public $numCols ] Property [ public $affectedRows ] diff --git a/php-pecl-pq.spec b/php-pecl-pq.spec index ddc2dd7..780fe67 100644 --- a/php-pecl-pq.spec +++ b/php-pecl-pq.spec @@ -35,7 +35,7 @@ Summary: PostgreSQL client library (libpq) binding Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.0.1 +Version: 1.1.1 %if 0%{?rcver:1} Release: 0.1.%{rcver}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else @@ -202,6 +202,11 @@ fi %check +if ! pkg-config libpq --atleast-version=9.3; then + : ignore some tests only because of "diag" content + rm ?TS/tests/{async003,async004,async005,async006,cancel001}.phpt +fi + OPT="-n" [ -f %{php_extdir}/json.so ] && OPT="$OPT -d extension=json.so" [ -f %{php_extdir}/raphf.so ] && OPT="$OPT -d extension=raphf.so" @@ -290,6 +295,15 @@ rm -rf %{buildroot} %changelog +* Fri May 20 2016 Remi Collet - 1.1.1-1 +- update to 1.1.1 (php 5, stable) +- open https://github.com/m6w6/ext-pq/issues/19 failed tests + so temporarily ignore them with pgsql < 9.3 + +* Fri May 20 2016 Remi Collet - 1.1.0-1 +- update to 1.1.0 (php 5, stable) +- open https://github.com/m6w6/ext-pq/issues/18 pgsql < 9.3 + * Wed May 4 2016 Remi Collet - 1.0.1-1 - update to 1.0.1 (php 5, stable) -- cgit