mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fix typo s/PGVERSION_NUM/PG_VERSION_NUM (#14516)
This commit is contained in:
@@ -183,7 +183,7 @@ namespace {
|
||||
* @cvalue PQERRORS_VERBOSE
|
||||
*/
|
||||
const PGSQL_ERRORS_VERBOSE = UNKNOWN;
|
||||
#if PGVERSION_NUM > 110000
|
||||
#if PG_VERSION_NUM > 110000
|
||||
/**
|
||||
* @var int
|
||||
* @cvalue PQERRORS_SQLSTATE
|
||||
|
||||
6
ext/pgsql/pgsql_arginfo.h
generated
6
ext/pgsql/pgsql_arginfo.h
generated
@@ -1,5 +1,5 @@
|
||||
/* This is a generated file, edit the .stub.php file instead.
|
||||
* Stub hash: 4a2a5778003aa741952e16617e5bdb2ad06e6e16 */
|
||||
* Stub hash: 0ea640eeff569a01b335eb1ab4ae3bc90598c5e2 */
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_pg_connect, 0, 1, PgSql\\Connection, MAY_BE_FALSE)
|
||||
ZEND_ARG_TYPE_INFO(0, connection_string, IS_STRING, 0)
|
||||
@@ -765,10 +765,10 @@ static void register_pgsql_symbols(int module_number)
|
||||
REGISTER_LONG_CONSTANT("PGSQL_ERRORS_TERSE", PQERRORS_TERSE, CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("PGSQL_ERRORS_DEFAULT", PQERRORS_DEFAULT, CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("PGSQL_ERRORS_VERBOSE", PQERRORS_VERBOSE, CONST_PERSISTENT);
|
||||
#if PGVERSION_NUM > 110000
|
||||
#if PG_VERSION_NUM > 110000
|
||||
REGISTER_LONG_CONSTANT("PGSQL_ERRORS_SQLSTATE", PQERRORS_SQLSTATE, CONST_PERSISTENT);
|
||||
#endif
|
||||
#if !(PGVERSION_NUM > 110000)
|
||||
#if !(PG_VERSION_NUM > 110000)
|
||||
REGISTER_LONG_CONSTANT("PGSQL_ERRORS_SQLSTATE", PQERRORS_TERSE, CONST_PERSISTENT);
|
||||
#endif
|
||||
REGISTER_LONG_CONSTANT("PGSQL_SEEK_SET", SEEK_SET, CONST_PERSISTENT);
|
||||
|
||||
Reference in New Issue
Block a user