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.3 2024-02-05 pq-2.2.3.tgz
2.2.2 2023-06-12 pq-2.2.2.tgz
2.2.1 2023-03-03 pq-2.2.1.tgz
2.2.0 2021-08-30 pq-2.2.0.tgz
2.1.8 2020-09-24 pq-2.1.8.tgz
Show all releases

Changelog

Version Message
2.2.3 * Fix incompatible pointer types (32-bit) (see hg issue #52)
2.2.2 * Fix JSON coversion (see gh issue #47)
2.2.1 * Fixed PHP-8.2 compatibility (see gh issue #46)
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
Show complete changelog