Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
suliangchun
dbeaver
提交
61421ad5
D
dbeaver
项目概览
suliangchun
/
dbeaver
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dbeaver
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
61421ad5
编写于
8月 24, 2018
作者:
S
Serge Rider
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
PG database init fix
Former-commit-id:
cbe684a2
上级
5713c338
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
4 addition
and
2 deletion
+4
-2
plugins/org.jkiss.dbeaver.ext.postgresql/plugin.xml
plugins/org.jkiss.dbeaver.ext.postgresql/plugin.xml
+1
-1
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/edit/PostgreTableManager.java
...kiss/dbeaver/ext/postgresql/edit/PostgreTableManager.java
+1
-1
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/model/PostgreDatabase.java
...g/jkiss/dbeaver/ext/postgresql/model/PostgreDatabase.java
+2
-0
未找到文件。
plugins/org.jkiss.dbeaver.ext.postgresql/plugin.xml
浏览文件 @
61421ad5
...
...
@@ -128,7 +128,7 @@
<items
label=
"%tree.procedure_columns.node.name"
itemLabel=
"%tree.column.node.name"
path=
"column"
property=
"parameters"
navigable=
"false"
/>
</items>
</folder>
<folder
type=
"org.jkiss.dbeaver.ext.postgresql.model.PostgreSequence"
label=
"%tree.sequences.node.name"
icon=
"#sequences"
description=
"Sequences"
>
<folder
type=
"org.jkiss.dbeaver.ext.postgresql.model.PostgreSequence"
label=
"%tree.sequences.node.name"
icon=
"#sequences"
description=
"Sequences"
if=
"object.dataSource.isServerVersionAtLeast(10, 0)"
>
<items
label=
"%tree.sequence.node.name"
path=
"sequence"
property=
"sequences"
icon=
"#sequence"
/>
</folder>
<folder
type=
"org.jkiss.dbeaver.ext.postgresql.model.PostgreDataType"
label=
"%tree.types.node.name"
icon=
"#data_types"
description=
"Data types"
>
...
...
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/edit/PostgreTableManager.java
浏览文件 @
61421ad5
...
...
@@ -151,7 +151,7 @@ public class PostgreTableManager extends PostgreTableManagerBase implements DBEO
PostgreTableRegular
table
=
(
PostgreTableRegular
)
tableBase
;
try
{
if
(!
alter
)
{
if
(
table
.
isHasOids
())
{
if
(
table
.
getDataSource
().
getServerType
().
supportsOids
()
&&
table
.
isHasOids
())
{
ddl
.
append
(
"\nWITH (\n\tOIDS="
).
append
(
table
.
isHasOids
()
?
"TRUE"
:
"FALSE"
);
ddl
.
append
(
"\n)"
);
}
...
...
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/model/PostgreDatabase.java
浏览文件 @
61421ad5
...
...
@@ -103,10 +103,12 @@ public class PostgreDatabase extends JDBCRemoteInstance<PostgreDataSource> imple
}
private
void
initCaches
()
{
/*
if (!getDataSource().isServerVersionAtLeast(8, 1)) {
// Roles not supported
roleCache.setCache(Collections.emptyList());
}
*/
}
public
PostgreDatabase
(
DBRProgressMonitor
monitor
,
PostgreDataSource
dataSource
,
String
databaseName
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录