[php-src] PR #14214: ext/pgsql: adding pg_result_memory_size.
| From: | KentarouTakeda | Date: | Mon, 13 May 2024 08:55:01 +0000 |
| Subject: | [php-src] PR #14214: ext/pgsql: adding pg_result_memory_size. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26129@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14214
Author: KentarouTakeda
Retrieve the memory usage of the query result resource.
Returns the value of
PQresultMemorySize() provided by the client library
libpq as is. The memory here is allocated internally by libpq, so until
now there was no way for the user to directly check it.
Is an RFC necessary to introduce this feature? Although
pg_set_error_context_visibility() added in #11395 did not require an RFC, please
confirm if one is needed for this case.