Skip to content

Commit 612609e

Browse files
committed
Refactor PGSQL extension to use zend_string*
* Prevents some unnecessary strlen() computation * Use interned "NULL" * Certain PGSQL_API functions now accept zend_string* instead of char* Closes GH-6792
1 parent 0ffb4a5 commit 612609e

File tree

3 files changed

+194
-213
lines changed

3 files changed

+194
-213
lines changed

UPGRADING.INTERNALS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,6 @@ PHP 8.1 INTERNALS UPGRADE NOTES
100100
- The functions php_pgsql_meta_data(), php_pgsql_convert(), php_pgsql_insert(),
101101
php_pgsql_update(), php_pgsql_delete(), and php_pgsql_select() have had
102102
their return type formalized to zend_result.
103+
- The functions php_pgsql_meta_data(), php_pgsql_convert(), php_pgsql_insert(),
104+
php_pgsql_update(), php_pgsql_delete(), and php_pgsql_select() now accept a
105+
zend_string* instead of a char* for the table name.

0 commit comments

Comments
 (0)