diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2010-06-10 12:11:19 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2010-06-10 12:11:19 +0000 |
commit | 6ed1819bf4faaee1ef3650d59089c66181b1f8ba (patch) | |
tree | 73589a320ed398465b0e6d7507a64ce9680a965a /ext/pdo_pgsql/php_pdo_pgsql_int.h | |
parent | 743a2e29c1d876a500f6a175b4767545fde69f7c (diff) | |
download | php-git-6ed1819bf4faaee1ef3650d59089c66181b1f8ba.tar.gz |
Added inTransaction() method to PDO, with specialized support for Postgres
Diffstat (limited to 'ext/pdo_pgsql/php_pdo_pgsql_int.h')
-rw-r--r-- | ext/pdo_pgsql/php_pdo_pgsql_int.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/pdo_pgsql/php_pdo_pgsql_int.h b/ext/pdo_pgsql/php_pdo_pgsql_int.h index 7ebc457ee4..efe3a182f3 100644 --- a/ext/pdo_pgsql/php_pdo_pgsql_int.h +++ b/ext/pdo_pgsql/php_pdo_pgsql_int.h @@ -102,6 +102,13 @@ struct pdo_pgsql_lob_self { Oid oid; }; +enum pdo_pgsql_specific_constants { + PGSQL_TRANSACTION_IDLE = PQTRANS_IDLE, + PGSQL_TRANSACTION_ACTIVE = PQTRANS_ACTIVE, + PGSQL_TRANSACTION_INTRANS = PQTRANS_INTRANS, + PGSQL_TRANSACTION_INERROR = PQTRANS_INERROR, + PGSQL_TRANSACTION_UNKNOWN = PQTRANS_UNKNOWN +}; php_stream *pdo_pgsql_create_lob_stream(pdo_dbh_t *stmt, int lfd, Oid oid TSRMLS_DC); extern php_stream_ops pdo_pgsql_lob_stream_ops; |