PostgreSQL: Fix JSONB version support
This commit is contained in:
parent
504c56216c
commit
fb71941daa
|
@ -195,7 +195,7 @@ if (isset($_GET["pgsql"])) {
|
||||||
if ($connection->server_info >= 9.2) {
|
if ($connection->server_info >= 9.2) {
|
||||||
$structured_types[lang('Strings')][] = "json";
|
$structured_types[lang('Strings')][] = "json";
|
||||||
$types["json"] = 4294967295;
|
$types["json"] = 4294967295;
|
||||||
if ($connection->server_info >= 9.2) {
|
if ($connection->server_info >= 9.4) {
|
||||||
$structured_types[lang('Strings')][] = "jsonb";
|
$structured_types[lang('Strings')][] = "jsonb";
|
||||||
$types["jsonb"] = 4294967295;
|
$types["jsonb"] = 4294967295;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue