java.io.IOException: Неверная последовательность UTF-8: байт 2 из 2 не подходит к маске 10xxxxxx: -16

Answered

Can't connect to DB.

pgAdmin works fine but DataGrip fails with error:

select N.oid::bigint as id,
N.xmin as state_number,
datname as name,
D.description,
pg_catalog.pg_get_userbyid(N.datdba) as "owner"
from pg_catalog.pg_database N
left join pg_catalog.pg_shdescription D on N.oid = D.objoid
where not datistemplate
order by case when datname = pg_catalog.current_database() then -1::bigint else N.oid::bigint end
java.io.IOException: Неверная последовательность UTF-8: байт 2 из 2 не подходит к маске 10xxxxxx: -16

4 comments
Comment actions Permalink

Could you specify your PostgreSQL server version and email me vasily.chernov@jetbrains.com full IDE and Database logs?

0
Comment actions Permalink

PostgreSQL 9.5.5 on amd64-portbld-freebsd10.3, compiled by FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512, 64-bit

There are too much private information in full logs, sorry.

0

Please sign in to leave a comment.