m6w6/ext-pq
9 months agoFix incompatible pointer types
Remi Collet [Mon, 29 Jan 2024 15:47:49 +0000 (16:47 +0100)] 
Fix incompatible pointer types

15 months agoFix doc links
Michael Wallner [Mon, 21 Aug 2023 12:38:29 +0000 (14:38 +0200)] 
Fix doc links

17 months agoMerge pull request #49 from m6w6/issue-verprop
Remi Collet [Thu, 15 Jun 2023 12:04:56 +0000 (14:04 +0200)] 
Merge pull request #49 from m6w6/issue-verprop

version properties

17 months agonew properties are read only 49/head
Remi Collet [Tue, 13 Jun 2023 14:13:08 +0000 (16:13 +0200)] 
new properties are read only

17 months agoadd php_pq_version_to_string() helper (factorization)
Remi Collet [Tue, 13 Jun 2023 13:06:39 +0000 (15:06 +0200)] 
add php_pq_version_to_string() helper (factorization)

17 months agofix library version in PHPinfo
Remi Collet [Mon, 12 Jun 2023 14:25:20 +0000 (16:25 +0200)] 
fix library version in PHPinfo

17 months agocheck that needed functions exists
Remi Collet [Tue, 13 Jun 2023 05:32:40 +0000 (07:32 +0200)] 
check that needed functions exists

17 months agouse serverVersion to skip json test
Remi Collet [Mon, 12 Jun 2023 15:10:22 +0000 (17:10 +0200)] 
use serverVersion to skip json test

17 months agoadd libraryVersion, protocolVersion and serverVersion properties
Remi Collet [Mon, 12 Jun 2023 15:09:39 +0000 (17:09 +0200)] 
add libraryVersion, protocolVersion and serverVersion properties

17 months agoprepare v2.2.2 v2.2.2
Michael Wallner [Mon, 12 Jun 2023 10:24:59 +0000 (12:24 +0200)] 
prepare v2.2.2

* Fix JSON coversion (see gh issue #47)

18 months agofix #47: JSON conv broken since 2.2.1
Michael Wallner [Wed, 3 May 2023 11:55:55 +0000 (13:55 +0200)] 
fix #47: JSON conv broken since 2.2.1

18 months agotest #47
Michael Wallner [Wed, 3 May 2023 12:17:21 +0000 (14:17 +0200)] 
test #47

18 months agoci: update actions to ubuntu 22.04 and recent PHP
Michael Wallner [Wed, 3 May 2023 12:04:41 +0000 (14:04 +0200)] 
ci: update actions to ubuntu 22.04 and recent PHP

20 months agoprepare v2.2.1 v2.2.1
Michael Wallner [Fri, 3 Mar 2023 14:34:20 +0000 (15:34 +0100)] 
prepare v2.2.1

* Fixed PHP-8.2 compatibility (see gh issue #46)

2 years agoconfigure: fix func check in -lpq
Michael Wallner [Fri, 7 Oct 2022 07:18:33 +0000 (09:18 +0200)] 
configure: fix func check in -lpq

2 years agotests: skip tests with dynamic properties in PHP-8.2
Michael Wallner [Fri, 7 Oct 2022 06:51:30 +0000 (08:51 +0200)] 
tests: skip tests with dynamic properties in PHP-8.2

2 years agoconfigure: json is always enabled
Michael Wallner [Fri, 7 Oct 2022 06:39:06 +0000 (08:39 +0200)] 
configure: json is always enabled

3 years agoci: add 8.1
Michael Wallner [Tue, 16 Nov 2021 13:51:14 +0000 (14:51 +0100)] 
ci: add 8.1

3 years agoPHP-8.2 compat with __toString
Michael Wallner [Wed, 10 Nov 2021 09:12:57 +0000 (10:12 +0100)] 
PHP-8.2 compat with __toString

3 years agofixup #42
Michael Wallner [Tue, 31 Aug 2021 07:46:27 +0000 (09:46 +0200)] 
fixup #42

3 years agofix #42
Michael Wallner [Tue, 31 Aug 2021 06:48:35 +0000 (08:48 +0200)] 
fix #42

3 years agorelease 2.2.0 v2.2.0
Michael Wallner [Mon, 30 Aug 2021 12:20:37 +0000 (14:20 +0200)] 
release 2.2.0

* Fixed PHP-8.1 compatibility (see gh issues #40 and #41)
* Fixed asynchronous actions not cleared prior some synchronous actions
* Added connection constants of PostgreSQL-10+ to pq\Connection:
  CHECK_WRITABLE, CONSUME, and GSS_STARTUP
* Added BYTEA unescaping support (see gh issue #38)

3 years agorelease 2.2.0
Michael Wallner [Mon, 30 Aug 2021 11:17:10 +0000 (13:17 +0200)] 
release 2.2.0

* Fixed PHP-8.1 compatibility (see gh issues #40 and #41)
* Fixed asynchronous actions not cleared prior some synchronous actions
* Added connection constants of PostgreSQL-10+ to pq\Connection:
  CHECK_WRITABLE, CONSUME, and GSS_STARTUP
* Added BYTEA unescaping support (see gh issue #38)

3 years agofix async queries not cleared prior some sync queries
Michael Wallner [Wed, 11 Aug 2021 08:13:19 +0000 (10:13 +0200)] 
fix async queries not cleared prior some sync queries

3 years agogitignore
Michael Wallner [Wed, 11 Aug 2021 08:11:22 +0000 (10:11 +0200)] 
gitignore

3 years agoAdd BYTEA unescaping support
Daniil Gentili [Sun, 25 Oct 2020 18:05:55 +0000 (19:05 +0100)] 
Add BYTEA unescaping support

3 years agofix #41: PHP-8.1 compat
Michael Wallner [Tue, 10 Aug 2021 07:36:14 +0000 (09:36 +0200)] 
fix #41: PHP-8.1 compat

3 years agogc: ignore recursive calls
Michael Wallner [Tue, 10 Aug 2021 07:14:12 +0000 (09:14 +0200)] 
gc: ignore recursive calls

3 years agoMerge pull request #40 from m6w6/issue-php81
Michael Wallner [Fri, 11 Jun 2021 10:13:59 +0000 (12:13 +0200)] 
Merge pull request #40 from m6w6/issue-php81

fix prototype for 8.1

3 years agofix previous 40/head
Remi Collet [Fri, 11 Jun 2021 08:15:56 +0000 (10:15 +0200)] 
fix previous

3 years agofix prototype for 8.1
Remi Collet [Fri, 11 Jun 2021 08:01:07 +0000 (10:01 +0200)] 
fix prototype for 8.1

3 years agotypo
Michael Wallner [Wed, 10 Mar 2021 12:33:17 +0000 (13:33 +0100)] 
typo

3 years agocompatibility with master
Michael Wallner [Wed, 10 Mar 2021 10:22:50 +0000 (11:22 +0100)] 
compatibility with master

3 years agofix PHP-master
Michael Wallner [Fri, 15 Jan 2021 12:38:41 +0000 (13:38 +0100)] 
fix PHP-master

3 years agoadapt some tests for non-superuser environments
Michael Wallner [Fri, 15 Jan 2021 12:25:11 +0000 (13:25 +0100)] 
adapt some tests for non-superuser environments

3 years agoadapt some tests for unix socket connections
Michael Wallner [Fri, 15 Jan 2021 12:24:50 +0000 (13:24 +0100)] 
adapt some tests for unix socket connections

3 years agogh-actions: ci: fix PQ_DSN
Michael Wallner [Fri, 15 Jan 2021 12:09:37 +0000 (13:09 +0100)] 
gh-actions: ci: fix PQ_DSN

3 years agotravis -> gh-actions
Michael Wallner [Fri, 15 Jan 2021 11:01:02 +0000 (12:01 +0100)] 
travis -> gh-actions

3 years agotravis
Michael Wallner [Mon, 30 Nov 2020 16:04:28 +0000 (17:04 +0100)] 
travis

4 years agotravis: use postgres 10
Michael Wallner [Thu, 24 Sep 2020 14:20:53 +0000 (16:20 +0200)] 
travis: use postgres 10

4 years agocheck for new connection status constants in pg-10+
Michael Wallner [Thu, 24 Sep 2020 14:10:21 +0000 (16:10 +0200)] 
check for new connection status constants in pg-10+

4 years agofix tests, connection status can be 2 digits
Remi Collet [Thu, 24 Sep 2020 14:04:05 +0000 (16:04 +0200)] 
fix tests, connection status can be 2 digits

4 years agoback to dev [ci skip]
Michael Wallner [Thu, 24 Sep 2020 11:10:15 +0000 (13:10 +0200)] 
back to dev [ci skip]

4 years agopackage.xml: update dependencies v2.1.8
Michael Wallner [Thu, 24 Sep 2020 11:02:17 +0000 (13:02 +0200)] 
package.xml: update dependencies

4 years agotravis: explicitely test 8.0
Michael Wallner [Thu, 24 Sep 2020 10:39:03 +0000 (12:39 +0200)] 
travis: explicitely test 8.0

4 years agotests: set lc_messages to C for tests checking errors
Michael Wallner [Thu, 24 Sep 2020 10:16:37 +0000 (12:16 +0200)] 
tests: set lc_messages to C for tests checking errors

4 years agofix stream for php <= 7.3
Remi Collet [Thu, 24 Sep 2020 09:58:37 +0000 (11:58 +0200)] 
fix stream for php <= 7.3

4 years agoprepare v2.1.8
Michael Wallner [Thu, 24 Sep 2020 09:48:22 +0000 (11:48 +0200)] 
prepare v2.1.8

4 years agofix mind effup
Michael Wallner [Thu, 24 Sep 2020 09:15:14 +0000 (11:15 +0200)] 
fix mind effup

4 years agorestore PHP 7 compatibility
Michael Wallner [Thu, 24 Sep 2020 09:09:31 +0000 (11:09 +0200)] 
restore PHP 7 compatibility

4 years agofix leaks on property read
Michael Wallner [Thu, 24 Sep 2020 08:52:28 +0000 (10:52 +0200)] 
fix leaks on property read

4 years agoredo PHP 8 compatibility
Michael Wallner [Thu, 24 Sep 2020 07:55:35 +0000 (09:55 +0200)] 
redo PHP 8 compatibility

4 years agorestore PHP 7 compatibility
Michael Wallner [Wed, 23 Sep 2020 18:34:23 +0000 (20:34 +0200)] 
restore PHP 7 compatibility

4 years agoPHP 8 compatibility
Michael Wallner [Wed, 23 Sep 2020 18:07:32 +0000 (20:07 +0200)] 
PHP 8 compatibility

4 years agorelease 2.1.7 v2.1.7
Michael Wallner [Fri, 7 Feb 2020 07:08:11 +0000 (08:08 +0100)] 
release 2.1.7

* Fix PHP-7.4 compatibility (undefined ulong on some platforms)

4 years agoulong -> unsigned long
Michael Wallner [Fri, 7 Feb 2020 06:59:53 +0000 (07:59 +0100)] 
ulong -> unsigned long

4 years agoFix build with 7.4 on macOS 35/head
Aaron Piotrowski [Thu, 6 Feb 2020 23:06:30 +0000 (17:06 -0600)] 
Fix build with 7.4 on macOS

4 years agorelease 2.1.6 v2.1.6
Michael Wallner [Sat, 18 Jan 2020 13:26:18 +0000 (14:26 +0100)] 
release 2.1.6

  * Fix PgSQL-12 compatibility
  * Fix PHP-7.4 compatibility
  * Fix empty arrays parsing (Dmitry Simushev)

4 years agofix pq\Types with PgSQL-12
Michael Wallner [Sat, 18 Jan 2020 13:17:14 +0000 (14:17 +0100)] 
fix pq\Types with PgSQL-12

4 years agoMerge pull request #34 from JustBlackBird/empty-array-fix
Michael Wallner [Sat, 28 Dec 2019 17:08:06 +0000 (18:08 +0100)] 
Merge pull request #34 from JustBlackBird/empty-array-fix

Fix empty arrays parsing

4 years agoFix empty arrays parsing 34/head
Dmitry Simushev [Sat, 28 Dec 2019 13:38:05 +0000 (16:38 +0300)] 
Fix empty arrays parsing

4 years agomove to PHP-7.4 as current GA
Michael Wallner [Wed, 4 Dec 2019 16:45:33 +0000 (17:45 +0100)] 
move to PHP-7.4 as current GA

5 years agofix travis
Michael Wallner [Fri, 2 Aug 2019 08:58:21 +0000 (10:58 +0200)] 
fix travis

5 years agoMerge pull request #33 from m6w6/fix-19
Michael Wallner [Sat, 29 Jun 2019 06:19:46 +0000 (08:19 +0200)] 
Merge pull request #33 from m6w6/fix-19

fix issue #19: Failed test with PgSQL < 9.3

5 years agofix issue #19: Failed test with PgSQL < 9.3 fix-19 33/head
Michael Wallner [Tue, 18 Jun 2019 10:02:30 +0000 (12:02 +0200)] 
fix issue #19: Failed test with PgSQL < 9.3

5 years agotravis: test against 7.4, but allow failures until stablilized
Michael Wallner [Mon, 17 Jun 2019 11:43:02 +0000 (13:43 +0200)] 
travis: test against 7.4, but allow failures until stablilized

5 years agoupdate travis/pecl
Michael Wallner [Mon, 1 Apr 2019 12:55:02 +0000 (14:55 +0200)] 
update travis/pecl

5 years agoupdate travis/pecl
Michael Wallner [Fri, 29 Mar 2019 09:23:23 +0000 (10:23 +0100)] 
update travis/pecl

5 years agotravis: update
Michael Wallner [Mon, 4 Mar 2019 06:38:56 +0000 (07:38 +0100)] 
travis: update

5 years agoupdate version header
Michael Wallner [Mon, 4 Mar 2019 06:35:51 +0000 (07:35 +0100)] 
update version header

5 years agoupgrade pq\Types
Michael Wallner [Mon, 4 Mar 2019 06:27:46 +0000 (07:27 +0100)] 
upgrade pq\Types

the internal abstime/reltime types have been removed from postgres

5 years agoPHP-7.4 compat
Michael Wallner [Sat, 2 Mar 2019 17:37:26 +0000 (18:37 +0100)] 
PHP-7.4 compat

5 years agoFix releases link
Michael Wallner [Thu, 24 Jan 2019 18:49:11 +0000 (19:49 +0100)] 
Fix releases link

[ci skip]

5 years agoprepare release 2.1.5 v2.1.5
Michael Wallner [Mon, 14 Jan 2019 14:20:01 +0000 (15:20 +0100)] 
prepare release 2.1.5

* Fix PHP-7.3 compatibility

5 years agofix master compatibility
Michael Wallner [Mon, 14 Jan 2019 14:03:11 +0000 (15:03 +0100)] 
fix master compatibility

5 years agoprepare release 2.1.5
Michael Wallner [Mon, 14 Jan 2019 13:53:34 +0000 (14:53 +0100)] 
prepare release 2.1.5

* Fix PHP-7.3 compatibility

6 years agotravis: test 7.3, rebuild master
Michael Wallner [Thu, 19 Jul 2018 11:26:45 +0000 (13:26 +0200)] 
travis: test 7.3, rebuild master

6 years agofix for 7.3.0alpha4
Remi Collet [Wed, 18 Jul 2018 05:39:47 +0000 (07:39 +0200)] 
fix for 7.3.0alpha4

6 years agoprepare release 2.1.4 v2.1.4
Michael Wallner [Tue, 26 Jun 2018 07:36:19 +0000 (09:36 +0200)] 
prepare release 2.1.4

* Fix #30: pq\Types is restricted to non-composite types

6 years agofix gh issue #30
Michael Wallner [Tue, 26 Jun 2018 07:10:28 +0000 (09:10 +0200)] 
fix gh issue #30

lift restriction on non-composite types of pq\Types

6 years agodelete profile data before cache
Michael Wallner [Mon, 5 Mar 2018 15:52:52 +0000 (16:52 +0100)] 
delete profile data before cache

6 years agofix pq\Result's iterator handling
Michael Wallner [Mon, 5 Mar 2018 12:11:09 +0000 (13:11 +0100)] 
fix pq\Result's iterator handling

6 years agochange build directory
Michael Wallner [Fri, 2 Mar 2018 20:20:05 +0000 (21:20 +0100)] 
change build directory

6 years agoupdate travis/pecl
Michael Wallner [Fri, 2 Mar 2018 19:48:57 +0000 (20:48 +0100)] 
update travis/pecl

6 years agotrigger build
Michael Wallner [Fri, 2 Mar 2018 17:04:54 +0000 (18:04 +0100)] 
trigger build

6 years agofix package.xml
Michael Wallner [Fri, 2 Mar 2018 16:29:44 +0000 (17:29 +0100)] 
fix package.xml

6 years agouse travis cache
Michael Wallner [Fri, 2 Mar 2018 16:03:02 +0000 (17:03 +0100)] 
use travis cache

6 years agoupdate travis-pecl
Michael Wallner [Fri, 2 Mar 2018 16:01:54 +0000 (17:01 +0100)] 
update travis-pecl

6 years agorelease 2.1.3 v2.1.3
Michael Wallner [Wed, 10 Jan 2018 12:44:49 +0000 (13:44 +0100)] 
release 2.1.3

* Fix gh-issue #27: crash in pq\Connection::escapeBytea()
+ Update static pq\Types with PostgreSQL-10 types

6 years agofix build with master
Michael Wallner [Tue, 9 Jan 2018 14:23:33 +0000 (15:23 +0100)] 
fix build with master

6 years agoupdate travies-pecl
Michael Wallner [Mon, 8 Jan 2018 12:05:57 +0000 (13:05 +0100)] 
update travies-pecl

6 years agofix #27
Michael Wallner [Mon, 8 Jan 2018 09:51:07 +0000 (10:51 +0100)] 
fix #27

A left over int/size_t conversion of a string argument in
pq\Connection::escapeBytea() was discovered.

7 years agofix links
Michael Wallner [Sun, 24 Sep 2017 08:17:16 +0000 (10:17 +0200)] 
fix links

7 years agotravis: PHP-7.2+ debug builds require valgrind headers for PCRE
Michael Wallner [Mon, 4 Sep 2017 13:34:42 +0000 (15:34 +0200)] 
travis: PHP-7.2+ debug builds require valgrind headers for PCRE

7 years agotravis: fix expectations
Michael Wallner [Mon, 4 Sep 2017 13:33:59 +0000 (15:33 +0200)] 
travis: fix expectations

7 years agorelease 2.1.2 v2.1.2
Michael Wallner [Mon, 3 Jul 2017 10:35:02 +0000 (12:35 +0200)] 
release 2.1.2

* Fix gh-issue #32: JSON compatibility with PHP-7.1
* Fix pq\DateTime::createFromFormat() prototype with PHP-7.2
+ Update static pq\Types with PostgreSQL-9.6 types

7 years agochangelog
Remi Collet [Fri, 23 Jun 2017 13:33:10 +0000 (15:33 +0200)] 
changelog

7 years agofix pq\DateTime::createFromFormat() proto for 7.2
Remi Collet [Fri, 23 Jun 2017 13:24:38 +0000 (15:24 +0200)] 
fix pq\DateTime::createFromFormat() proto for 7.2

7 years agofixes #24
Michael Wallner [Wed, 3 May 2017 07:16:43 +0000 (09:16 +0200)] 
fixes #24

Segmentation fault after pg_terminate_backend

8 years agoadministrativa
Michael Wallner [Tue, 15 Nov 2016 08:59:38 +0000 (09:59 +0100)] 
administrativa