mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
ext/pdo_pgsql: Retrieve the memory usage of the query result resource (#14260)
`getAttribute()` can now retrieve the memory usage of query results. `PDO::PGSQL_ATTR_RESULT_MEMORY_SIZE` was added for this feature. closes #14260
This commit is contained in:
parent
ba534e70e6
commit
b7dd3d8347
9 changed files with 96 additions and 2 deletions
|
@ -86,6 +86,7 @@ extern const struct pdo_stmt_methods pgsql_stmt_methods;
|
|||
|
||||
enum {
|
||||
PDO_PGSQL_ATTR_DISABLE_PREPARES = PDO_ATTR_DRIVER_SPECIFIC,
|
||||
PDO_PGSQL_ATTR_RESULT_MEMORY_SIZE,
|
||||
};
|
||||
|
||||
struct pdo_pgsql_lob_self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue