diff options
author | Yasuo Ohgaki <yohgaki@php.net> | 2014-02-17 06:36:54 +0900 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2014-02-17 06:36:54 +0900 |
commit | d8aa13029675c6651243f144c328411c9f9c38d5 (patch) | |
tree | 218d08dc1146d918f2aae4d65e2057c959b280cb /ext/pgsql/php_pgsql.h | |
parent | 5fd6365c7751dc3dcc37765bf39c559ae8454ca9 (diff) | |
download | php-git-d8aa13029675c6651243f144c328411c9f9c38d5.tar.gz |
Imprement FR #25854 Return value for pg_insert should be resource instead of bool
Diffstat (limited to 'ext/pgsql/php_pgsql.h')
-rw-r--r-- | ext/pgsql/php_pgsql.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h index 9aa3883a5a..b6caf9d201 100644 --- a/ext/pgsql/php_pgsql.h +++ b/ext/pgsql/php_pgsql.h @@ -24,6 +24,8 @@ #if HAVE_PGSQL +#define PHP_PGSQL_API_VERSION 20140217 + extern zend_module_entry pgsql_module_entry; #define pgsql_module_ptr &pgsql_module_entry @@ -201,6 +203,7 @@ PHP_FUNCTION(pg_select); #define PGSQL_DML_STRING (1<<11) /* Return query string */ #define PGSQL_DML_ESCAPE (1<<12) /* No convert, but escape only */ + /* exported functions */ PHP_PGSQL_API int php_pgsql_meta_data(PGconn *pg_link, const char *table_name, zval *meta, zend_bool extended TSRMLS_DC); PHP_PGSQL_API int php_pgsql_convert(PGconn *pg_link, const char *table_name, const zval *values, zval *result, ulong opt TSRMLS_DC); |