pgsql missing symbols

From: Date: Tue, 21 Dec 1999 23:57:05 +0000
Subject: pgsql missing symbols
Groups: php.version4 
Request: Send a blank email to php-version4+get-8357@lists.php.net to get a copy of this message
Couldn't load module php4 in apache because of missing symbols get_fieldname and pg_field_name. Grepping for vars suggested this fix that at least allows me to start the server. But it still crashes as soon as a client connects, so I cannot be sure patch is OK. (Crash can be caused by other modules in php, I guess, but I don't know how to trace that, except for rebuiling with only --with-pgsql, but it's too late tonight...) --- php4/ext/pgsql/pgsql.c Tue Dec 21 06:22:43 1999 +++ php4_build/ext/pgsql/pgsql.c Wed Dec 22 00:12:15 1999 @@ -694,7 +694,7 @@ /* }}} */ -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 @@ /* {{{ 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); } MHu

« previous php.version4 (#8357) next »