php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5417 pg_encoding_to_char not defined
Submitted: 2000-07-06 22:30 UTC Modified: 2000-07-06 23:30 UTC
From: jon at csh dot rit dot edu Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (06/07/2000) OS: FreeBSD 4.0-STABLE
Private report: No CVE-ID: None
 [2000-07-06 22:30 UTC] jon at csh dot rit dot edu
I can no longer build the PostgreSQL extension after the changes made in ext/pgsql/pgsql.c version 1.62.  The diff adds support for client encoding.  The autoconf rule checks for the existence of PQclientEncoding to determine of support for client encoding should be included.  That function exists in my version of libpq.a.  However, in PHP_FUNCTION(pg_clientencoding), there's a reference to pg_encoding_to_char, which is not a valid symbol in my libpq.a.  This causes the linker to die when building Apache.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-06 23:30 UTC] jah at cvs dot php dot net
Fixed in cvs. (As a side result, client encoding functions are compiled into
PostgreSQL module only if PostgreSQL itself was compiled with multibyte support
and those functions would do something meaningful.)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 20:01:29 2024 UTC