From: Zeev Suraski Date: Fri, 16 Jul 1999 17:26:16 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: php-4.0b1~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=916f2f292779e0651efdebd19221c9a85544f408;p=php *** empty log message *** --- diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 61b1634696..06ef5ab55c 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -857,13 +857,6 @@ PHP_FUNCTION(pgsql_result) } /* }}} */ -/* {{{ proto array pg_fetchrow(int result, int row) - Get a row as an enumerated array */ -PHP_FUNCTION(pgsql_fetch_row) -{ - php3_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, PGSQL_NUM); -} -/* }}} */ static void php3_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type) { @@ -948,6 +941,14 @@ static void php3_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type) } +/* {{{ proto array pg_fetchrow(int result, int row) + Get a row as an enumerated array */ +PHP_FUNCTION(pgsql_fetch_row) +{ + php3_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, PGSQL_NUM); +} +/* }}} */ + /* ?? This is a rather odd function - why not just point pg_fetcharray() directly at fetch_hash ? -RL */ /* {{{ proto array pg_fetch_array(int result, int row) Fetch a row as an array */