mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
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:
parent
da643f3fea
commit
c65a20df4a
2 changed files with 13 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue