show correct collation for PostgresSQL
This commit is contained in:
parent
96be913994
commit
1ce0a9aa94
|
@ -292,7 +292,7 @@ if (isset($_GET["pgsql"])) {
|
|||
|
||||
function db_collation($db, $collations) {
|
||||
global $connection;
|
||||
return $connection->result("SHOW LC_COLLATE"); //! respect $db
|
||||
return $connection->result("SELECT datcollate FROM pg_database WHERE datname = " . q($db));
|
||||
}
|
||||
|
||||
function engines() {
|
||||
|
|
Loading…
Reference in a new issue