mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Implementing getClientEncoding using postgres
This commit is contained in:
parent
2ec9a49f17
commit
f00f4eae0f
1 changed files with 1 additions and 1 deletions
|
@ -757,7 +757,7 @@ class DboPostgres extends DboSource {
|
||||||
* @return string The database encoding
|
* @return string The database encoding
|
||||||
*/
|
*/
|
||||||
function getEncoding() {
|
function getEncoding() {
|
||||||
return pg_client_encoding($this->connection);
|
$cosa = $this->_execute('SHOW client_encoding')->fetch();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue