diff options
| -rw-r--r-- | ext/pgsql/pgsql.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 6c3a995b6a..21de00aafa 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -2337,7 +2337,6 @@ PHP_FUNCTION(pg_copy_to) PQclear(pgsql_result); } pgsql_result = PQexec(pgsql, query); - efree(pg_null_as); efree(query); @@ -2795,10 +2794,8 @@ PHP_FUNCTION(pg_result_status) } /* }}} */ -#define QUERY_BUF_SIZE (1023) - /* {{{ php_pgsql_metadata - + * TODO: Add metadata cache to better performance */ PHPAPI int php_pgsql_metadata(PGconn *pg_link, const char *table_name, zval *meta TSRMLS_DC) { |
