pg_client_encoding/pg_set_client_encoding should be compiled always.

Recent libpq has PQclientEncoding/PQsetClientEncoding regarless of
multibyte support enabled or not.

Reported by c@cornelia-boenigk.de

# This should be merged, but need a little more testing.
This commit is contained in:
Yasuo Ohgaki 2002-04-25 01:42:23 +00:00
parent da643f3fea
commit c65a20df4a
2 changed files with 13 additions and 10 deletions

View file

@ -114,10 +114,8 @@ PHP_FUNCTION(pg_trace);
PHP_FUNCTION(pg_untrace);
/* utility functions */
#if HAVE_PQCLIENTENCODING
PHP_FUNCTION(pg_client_encoding);
PHP_FUNCTION(pg_set_client_encoding);
#endif
#if HAVE_PQESCAPE
PHP_FUNCTION(pg_escape_string);
PHP_FUNCTION(pg_escape_bytea);