PostgreSQL: Fix JSONB version support

This commit is contained in:
Jakub Vrana 2017-04-08 20:17:08 +02:00
parent 504c56216c
commit fb71941daa

View file

@ -195,7 +195,7 @@ if (isset($_GET["pgsql"])) {
if ($connection->server_info >= 9.2) {
$structured_types[lang('Strings')][] = "json";
$types["json"] = 4294967295;
if ($connection->server_info >= 9.2) {
if ($connection->server_info >= 9.4) {
$structured_types[lang('Strings')][] = "jsonb";
$types["jsonb"] = 4294967295;
}