Revert "ext/pdo_pgsql: Delete unused constants"

This reverts commit e549ccb32e.
This commit is contained in:
David Carlier 2025-06-06 14:45:59 +01:00
parent 01abca9852
commit cce0efdff8
No known key found for this signature in database
GPG key ID: 8486F847B4B94EF1
6 changed files with 59 additions and 5 deletions

View file

@ -104,6 +104,14 @@ 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(zend_object *pdh, int lfd, Oid oid);
extern const php_stream_ops pdo_pgsql_lob_stream_ops;