We are using CockroachDB. We are trying to “import” a .sql dump file using command.
cockroach sql --database=database name < file-name.sql --insecure
After pressing the enter the tables without Jsonb are created in the database and throwing an error saying:
pq: cluster version does not support JSONB (>= 2.0 required)
Error: pq: cluster version does not support JSONB (>= 2.0 required)
Failed running “sql”
Our cluster version is same as the version of CockroachDb v2.0.5(Latest). We already tried to upgrade and things like that but no luck.
Our cluster build version:
build:CCL v2.0.5 @ 2018/08/13 17:59:42 (go1.10)