diff options
author | Zeev Suraski <zeev@php.net> | 1999-12-26 00:18:44 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-12-26 00:18:44 +0000 |
commit | 90f1218fbb19d3633809dc4733da6b98787d254e (patch) | |
tree | 9f34ca52eb33ff1b72656752108d04286bfa75cb /ext/pgsql/pgsql.c | |
parent | 7d2d48e116077e80e6207f4c93a9ed07e3fa129f (diff) | |
download | php-git-90f1218fbb19d3633809dc4733da6b98787d254e.tar.gz |
- Change uint32 to php_uint32 (PostgreSQL defines uint32, and perhaps other packages too)
- PostgreSQL finally compiles&links
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r-- | ext/pgsql/pgsql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 396f99f68a..d293226fc7 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -694,7 +694,7 @@ PHP_FUNCTION(pg_cmdtuples) /* }}} */ -char *get_fieldname(PGconn *pgsql, Oid oid, HashTable *list) +char *get_field_name(PGconn *pgsql, Oid oid, HashTable *list) { PGresult *result; char hashed_oid_key[32]; @@ -794,7 +794,7 @@ void php_pgsql_get_field_info(INTERNAL_FUNCTION_PARAMETERS, int entry_type) /* {{{ proto string pg_fieldname(int result, int field_number) Returns the name of the field */ -PHP_FUNCTION(pg_field_name) +PHP_FUNCTION(pg_fieldname) { php_pgsql_get_field_info(INTERNAL_FUNCTION_PARAM_PASSTHRU,PHP_PG_FIELD_NAME); } |