diff options
| author | Zeev Suraski <zeev@php.net> | 1999-07-16 17:26:16 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-07-16 17:26:16 +0000 |
| commit | 916f2f292779e0651efdebd19221c9a85544f408 (patch) | |
| tree | 8755d82cc4db3e9746fe7191be2e365f13178fbc /ext/pgsql | |
| parent | 58a6d48014be3be68275661730b53fe3f8c184dc (diff) | |
| download | php-git-916f2f292779e0651efdebd19221c9a85544f408.tar.gz | |
*** empty log message ***
Diffstat (limited to 'ext/pgsql')
| -rw-r--r-- | ext/pgsql/pgsql.c | 15 |
1 files changed, 8 insertions, 7 deletions
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 */ |
