d71adead21
* Added public readonly array pq\Result::$diag property, listing PQresultErrorField details (gh-issue #14) * Restore listeners and prepared statements after a connection reset (gh-issue #15) * Added pq\Connection::$nonblocking and pq\Connection::flush() to support non-blocking writes (gh-issue #16) |
||
---|---|---|
src | ||
tests | ||
travis | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
AUTHORS | ||
BUGS | ||
config9.m4 | ||
config.m4 | ||
CONTRIBUTING.md | ||
CREDITS | ||
gen_pq_type.sh | ||
gen_travis_yml.php | ||
LICENSE | ||
package.xml | ||
php_pq_type.awk | ||
php_pq_type.h | ||
php_pq.h | ||
README.md | ||
THANKS | ||
TODO |
pecl/pq
About:
This is a modern binding to the mature libpq, the official PostgreSQL C-client library.
Highlights:
- Nearly 100% support for [asynchronous usage](https://mdref.m6w6.name/pq/Connection/: Asynchronous Usage).
- Extended [type support by pg_type](https://mdref.m6w6.name/pq/Types/: Overview).
- Fetching simple multi-dimensional array maps.
- Working Gateway implementation.
Documentation
See the online markdown reference.
Known issues are listed in BUGS and future ideas can be found in TODO.
Installing
PECL
pecl install pq
Watch out for PECL replicates and pharext packages attached to releases.
PHARext
Watch out for PECL replicates and pharext packages attached to releases.
Checkout
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
Dependencies:
This extension unconditionally depends on the pre-loaded presence of the following PHP extensions:
It optionally depends on the following extensions:
ChangeLog
A comprehensive list of changes can be obtained from the PECL website.
License
ext-pq is licensed under the 2-Clause-BSD license, which can be found in the accompanying LICENSE file.
Contributing
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.