This is a modern binding to the mature libpq, the official PostgreSQL C-client library.
- Nearly 100% support for asynchronous usage.
- Extended type support by pg_type.
- Fetching simple multi-dimensional array maps.
- Working Gateway implementation.
See the online markdown reference.
Known issues are listed in BUGS and future ideas can be found in TODO.
pecl install pq
Watch out for PECL replicates and pharext packages attached to releases.
git clone github.com:m6w6/ext-pq
cd ext-pq
/path/to/phpize
./configure --with-php-config=/path/to/php-config
make
sudo make install
This extension unconditionally depends on the pre-loaded presence of the following PHP extensions:
It optionally depends on the following extensions:
A comprehensive list of changes can be obtained from the PECL website.
ext-pq is licensed under the 2-Clause-BSD license, which can be found in the accompanying LICENSE file.
All forms of contribution are welcome! Please see the bundled CONTRIBUTING note for the general principles followed.
The list of past and current contributors is maintained in THANKS.