cvs: php4 /ext/pgsql pgsql.c

From: Date: Mon, 21 Jan 2002 00:36:23 +0000
Subject: cvs: php4 /ext/pgsql pgsql.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-9118@lists.php.net to get a copy of this message
yohgaki Sun Jan 20 19:36:23 2002 EDT Modified files: /php4/ext/pgsql pgsql.c Log: Fixed typo and proto Index: php4/ext/pgsql/pgsql.c diff -u php4/ext/pgsql/pgsql.c:1.141 php4/ext/pgsql/pgsql.c:1.142 --- php4/ext/pgsql/pgsql.c:1.141 Wed Jan 9 03:09:16 2002 +++ php4/ext/pgsql/pgsql.c Sun Jan 20 19:36:22 2002 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pgsql.c,v 1.141 2002/01/09 08:09:16 steinm Exp $ */ +/* $Id: pgsql.c,v 1.142 2002/01/21 00:36:22 yohgaki Exp $ */ #include <stdlib.h> @@ -340,7 +340,7 @@ REGISTER_LONG_CONSTANT("PGSQL_ESCAPE_BYTEA", PGSQL_ESCAPE_BYTEA, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("PGSQL_EMPTY_QUERY", PGRES_EMPTY_QUERY, CONST_CS | CONST_PERSISTENT); - REGISTER_LONG_CONSTANT("PSQL_COMMAND_OK", PGRES_COMMAND_OK, CONST_CS | CONST_PERSISTENT); + REGISTER_LONG_CONSTANT("PGSQL_COMMAND_OK", PGRES_COMMAND_OK, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("PGSQL_TUPLES_OK", PGRES_TUPLES_OK, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("PGSQL_COPY_OUT", PGRES_COPY_OUT, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("PGSQL_COPY_IN", PGRES_COPY_IN, CONST_CS | CONST_PERSISTENT); @@ -2103,8 +2103,8 @@ } /* }}} */ -/* {{{ proto int pg_copy_to(int connection, string table_name [, string delimiter [, string null_as]]) - Send null-terminated string to backend server*/ +/* {{{ proto array pg_copy_to(int connection, string table_name [, string delimiter [, string null_as]]) + Copy table to array */ PHP_FUNCTION(pg_copy_to) { zval *pgsql_link; @@ -2221,8 +2221,8 @@ } /* }}} */ -/* {{{ proto int pg_copy_from(int connection, string table_name , array rows [, string delimiter [, string null_as]]) - */ +/* {{{ proto bool pg_copy_from(int connection, string table_name , array rows [, string delimiter [, string null_as]]) + Copy table from array */ PHP_FUNCTION(pg_copy_from) { zval *pgsql_link = NULL, *pg_rows;

« previous php.cvs (#9118) next »