]> git.joonet.de Git - adminer.git/commitdiff
PostgreSQL: Fix JSONB version support
authorJakub Vrana <jakub@vrana.cz>
Sat, 8 Apr 2017 18:17:08 +0000 (20:17 +0200)
committerJakub Vrana <jakub@vrana.cz>
Sat, 8 Apr 2017 18:17:08 +0000 (20:17 +0200)
adminer/drivers/pgsql.inc.php

index 99733a468246b7f489ff49856bd697a5a4e67f34..ad699b73081a6e2b17e0811217e18211eb3af8c5 100644 (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;
                                        }