pq

PostgreSQL client library (libpq) binding


Documents: https://mdref.m6w6.name/pq

Highlights:
* Nearly complete support for asynchronous usage:
https://mdref.m6w6.name/pq/Connection/%3A%20Asynchronous%20Usage
* Extended type support by pg_type:
https://mdref.m6w6.name/pq/Types/%3A%20Overview
* Fetching simple multi-dimensional array maps:
https://mdref.m6w6.name/pq/Result/map
* Working Gateway implementation:
https://mdref.m6w6.name/pq-gateway

License: BSD-2-Clause

Latest releases

Version Release Download
2.2.0 2021-08-30 pq-2.2.0.tgz
2.1.8 2020-09-24 pq-2.1.8.tgz
2.1.7 2020-02-07 pq-2.1.7.tgz
2.1.6 2020-01-18 pq-2.1.6.tgz
2.1.5 2019-01-14 pq-2.1.5.tgz
Show all releases

Changelog

Version Message
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)
2.1.8 * Fix PHP-8.0 compatibility
2.1.7 * Fix PHP-7.4 compatibility
2.1.6 * Fix PgSQL-12 compatibility
* Fix PHP-7.4 compatibility
* Fix empty arrays parsing (Dmitry Simushev)
2.1.5 * Fix PHP-7.3 compatibility
Show complete changelog