提交 941f7fa4 authored 作者: Thomas Mueller's avatar Thomas Mueller

support newer JDBC drivers

上级 74d9bc55
......@@ -31,6 +31,7 @@ create table pg_catalog.pg_type(
typname varchar_ignorecase,
typnamespace int,
typlen int,
typtype varchar,
typbasetype int);
insert into pg_catalog.pg_type
......@@ -39,6 +40,7 @@ select
cast(type_name as varchar_ignorecase) typname,
(select oid from pg_catalog.pg_namespace where nspname = 'pg_catalog') typnamespace,
-1 typlen,
'c' typtype,
0 typbasetype
from information_schema.type_info
where pos = 0;
......@@ -48,6 +50,7 @@ merge into pg_catalog.pg_type values(
'name',
(select oid from pg_catalog.pg_namespace where nspname = 'pg_catalog'),
-1,
'c',
0
);
merge into pg_catalog.pg_type values(
......@@ -55,6 +58,7 @@ merge into pg_catalog.pg_type values(
'null',
(select oid from pg_catalog.pg_namespace where nspname = 'pg_catalog'),
-1,
'c',
0
);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论