summaryrefslogtreecommitdiff
path: root/ext/pgsql/php_pgsql.h
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2014-01-15 14:37:24 +0900
committerYasuo Ohgaki <yohgaki@php.net>2014-01-15 14:37:24 +0900
commit28be6aea9c4b1915d55595db8789e386c194c938 (patch)
treec382c6342673a41b7c4c67b29c58086c7af87a97 /ext/pgsql/php_pgsql.h
parentc58329fccc8bb521251dea7f52e991783b44d3da (diff)
downloadphp-git-28be6aea9c4b1915d55595db8789e386c194c938.tar.gz
Added pg_lo_truncate() and 64bit large object support from PostgreSQL 9.3 and up
Diffstat (limited to 'ext/pgsql/php_pgsql.h')
-rw-r--r--ext/pgsql/php_pgsql.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h
index d6dab56c4c..016f3aa5a8 100644
--- a/ext/pgsql/php_pgsql.h
+++ b/ext/pgsql/php_pgsql.h
@@ -157,6 +157,9 @@ PHP_FUNCTION(pg_lo_import);
PHP_FUNCTION(pg_lo_export);
PHP_FUNCTION(pg_lo_seek);
PHP_FUNCTION(pg_lo_tell);
+#if HAVE_PG_LO_TRUNCATE
+PHP_FUNCTION(pg_lo_truncate);
+#endif
/* debugging functions */
PHP_FUNCTION(pg_trace);