PHP_FE(pg_loreadall, NULL)
PHP_FE(pg_loimport, NULL)
PHP_FE(pg_loexport, NULL)
- PHP_FE(pg_putline, NULL)
- PHP_FE(pg_endcopy, NULL)
+ PHP_FE(pg_put_line, NULL)
+ PHP_FE(pg_end_copy, NULL)
#if HAVE_PQCLIENTENCODING
PHP_FE(pg_clientencoding, NULL)
PHP_FE(pg_setclientencoding, NULL)
}
}
/* }}} */
-/* {{{ proto int pg_endcopy([int connection])
+/* {{{ proto int pg_end_copy([int connection])
Sync with backend. Completes the Copy command */
-PHP_FUNCTION(pg_endcopy)
+PHP_FUNCTION(pg_end_copy)
{
zval **pgsql_link = NULL;
int id = -1;
}
/* }}} */
-/* {{{ proto int pg_putline([int connection,] string query)
+/* {{{ proto int pg_put_line([int connection,] string query)
Send null-terminated string to backend server*/
-PHP_FUNCTION(pg_putline)
+PHP_FUNCTION(pg_put_line)
{
zval **query, **pgsql_link = NULL;
int id = -1;
PHP_FUNCTION(pg_loreadall);
PHP_FUNCTION(pg_loimport);
PHP_FUNCTION(pg_loexport);
-PHP_FUNCTION(pg_putline);
-PHP_FUNCTION(pg_endcopy);
+PHP_FUNCTION(pg_put_line);
+PHP_FUNCTION(pg_end_copy);
#if HAVE_PQCLIENTENCODING
PHP_FUNCTION(pg_clientencoding);
PHP_FUNCTION(pg_setclientencoding);