summaryrefslogtreecommitdiff
path: root/ext/pgsql
Commit message (Collapse)AuthorAgeFilesLines
* Trim trailing whitespaces in build filesPeter Kokot2018-07-291-2/+2
| | | | | | | | Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files: - ext/*/config*.m4 - configure.ac - acinclude.m4
* Fix typos in code commentsPeter Kokot2018-07-251-1/+1
|
* Remove unused Git attributes identPeter Kokot2018-07-254-8/+1
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* Reduce error buffer sizeAnatol Belski2018-07-051-1/+1
| | | | 120 bytes is ample, the doc says.
* Use zval_ptr_dtor() imstead of zval_dtor()Dmitry Stogov2018-07-051-2/+2
|
* Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized ↵Dmitry Stogov2018-07-041-7/+7
| | | | | | | destructors. zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places. Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
* Merge branch 'PHP-7.2'Anatol Belski2018-06-292-0/+24
|\ | | | | | | | | * PHP-7.2: Fixed bug #76548 pg_fetch_result did not fetch the next row
| * Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-06-292-0/+24
| |\ | | | | | | | | | | | | * PHP-7.1: Fixed bug #76548 pg_fetch_result did not fetch the next row
| | * Fixed bug #76548 pg_fetch_result did not fetch the next rowAnatol Belski2018-06-292-0/+24
| | |
* | | Removed "dead" code (zend_hash_update() never fails)Dmitry Stogov2018-06-011-3/+1
| | |
* | | Avoid useless checks, using zend_string_efree(), in cases where the string ↵Dmitry Stogov2018-05-081-1/+1
| | | | | | | | | | | | is known to be a temporary allocated zend_string.
* | | zend_fcall_info_cache.calling_scope is not used by zend_call_function() and ↵Dmitry Stogov2018-05-031-1/+0
| | | | | | | | | | | | | | | | | | doesn't have to be initialized. It's used only as a result of zend_is_callable() in forward_static_call and spl_autoload.
* | | Avoid strlen calls for regexesAnatol Belski2018-04-191-45/+63
| | |
* | | Use int instead of long in protosGabriel Caruso2018-02-231-2/+2
| | |
* | | Use EXPECT instead of EXPECTF when possibleGabriel Caruso2018-02-203-3/+3
| | | | | | | | | | | | EXPECTF logic in run-tests.php is considerable, so let's avoid it.
* | | Reduce var scopeAnatol Belski2018-02-181-32/+24
| | |
* | | Remove empty sections in testsGabriel Caruso2018-02-141-1/+0
| | |
* | | Fix misspelling vlaues to valuesGabriel Caruso2018-01-281-1/+1
| | |
* | | Merge branch 'PHP-7.2'Xinchen Hui2018-01-181-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.2: Updated NEWS Fixed #75838 (Memory leak in pg_escape_bytea())
| * | Merge branch 'PHP-7.1' into PHP-7.2Xinchen Hui2018-01-181-0/+1
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Fixed #75838 (Memory leak in pg_escape_bytea())
| | * Fixed #75838 (Memory leak in pg_escape_bytea())Xinchen Hui2018-01-181-0/+1
| | |
| | * year++Xinchen Hui2018-01-022-2/+2
| | |
| * | year++Xinchen Hui2018-01-022-2/+2
| | |
* | | Avoid separation and simlifyed conversionDmitry Stogov2018-01-171-25/+12
| | |
* | | year++Xinchen Hui2018-01-022-2/+2
| | |
* | | zend_fcall_info_cache.initialized is removed (zend_fcall_info_cache is ↵Dmitry Stogov2017-12-271-1/+0
| | | | | | | | | | | | initialized if zend_fcall_info_cache.function_handler is set).
* | | Merge branch 'PHP-7.2'Anatol Belski2017-12-151-20/+15
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fixed bug #75671 pg_version() crashes when called on a connection to cockroach
| * | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-12-151-20/+15
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Fixed bug #75671 pg_version() crashes when called on a connection to cockroach
| | * Fixed bug #75671 pg_version() crashes when called on a connection to cockroachAnatol Belski2017-12-151-20/+15
| | |
* | | Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
| | |
* | | Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
| | |
* | | Cleanup type conversionDmitry Stogov2017-12-071-2/+1
| | |
* | | Enable and fix printf() format warningsNikita Popov2017-11-161-1/+1
| | | | | | | | | | | | | | | | | | Add _unchecked() variants of zend_spprintf and zend_strpprintf for cases where we specifically want to disable these checks, such as use of %H.
* | | Fix remaining signedness warningsAnatol Belski2017-11-141-2/+2
| | |
* | | Patch core for PCRE2 supportAnatol Belski2017-11-131-11/+22
| | | | | | | | | | | | RFC https://wiki.php.net/rfc/pcre2-migration
* | | Persistent resources are "thread-local".Dmitry Stogov2017-11-011-5/+1
| | | | | | | | | | | | Register persistent resources through new functions zend_register_persistent_resource()/zend_register_persistent_resource_ex().
* | | Merge branch 'master' into rc_debugDmitry Stogov2017-10-301-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (26 commits) Better fix for bug #75451 (Assertion fails while foreach on empty xpath query) Catch with the latest AppVeyor unzip errors Fixed type inference Fix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect Fix compiler warnings We don't use a specific model for a MAKERNOTE so remove these checks that doesn't do anything anyway Remove these old comments, as for the TODO, there is already a FR for this Re-enable AppVeyor cache make sure run-tests reports exit status upon prerequisite error Remove implicit constants from test case Fix invalid read in zend_use_undefined_constant() Fix invalid read in mb_ord() Remove --with-libmbfl configure option Fixed bug #75451 (Assertion fails while foreach on empty xpath query) Add tests for UConverter::getStandards() convert spaces to tabs in ext/ftp/tests/server.inc Add tests for ftp_rename Fix bug #75434 Wrong reflection for mysqli_fetch_all function Don't optimize input arrays with suffix holes Fix bug #75307 Wrong reflection for openssl_open function ...
| * \ \ Merge branch 'PHP-7.2'Anatol Belski2017-10-271-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.2: Fix test compat for PostgreSQL 10
| | * | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-10-271-1/+1
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-7.1: Fix test compat for PostgreSQL 10
| | | * Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-10-271-1/+1
| | | |\ | | | | | | | | | | | | | | | | | | | | * PHP-7.0: Fix test compat for PostgreSQL 10
| | | | * Fix test compat for PostgreSQL 10Anatol Belski2017-10-271-1/+1
| | | | |
* | | | | Encapsulate reference-counting primitives.Dmitry Stogov2017-10-271-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead. Added mactros to validate reference-counting (disabled for now). These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.
* | | | Merge branch 'PHP-7.2'Sara Golemon2017-10-241-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.2: Decref default_link when clearing
| * | | Merge branch 'PHP-7.1' into PHP-7.2Sara Golemon2017-10-241-0/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.1: Decref default_link when clearing
| | * | Merge branch 'PHP-7.0' into PHP-7.1Sara Golemon2017-10-241-0/+1
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-7.0: Decref default_link when clearing
| | | * Decref default_link when clearingSara Golemon2017-10-241-0/+1
| | | |
* | | | Merge branch 'PHP-7.2'Sara Golemon2017-10-232-13/+21
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.2: Bugfix#75419 Fix clearing of default link during pg_close()
| * | | Merge branch 'PHP-7.1' into PHP-7.2Sara Golemon2017-10-232-13/+21
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.1: Bugfix#75419 Fix clearing of default link during pg_close()
| | * | Merge branch 'PHP-7.0' into PHP-7.1Sara Golemon2017-10-232-13/+21
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-7.0: Bugfix#75419 Fix clearing of default link during pg_close()
| | | * Bugfix#75419 Fix clearing of default link during pg_close()Sara Golemon2017-10-232-13/+21
| | | |