Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
suliangchun
dbeaver
提交
373e469f
D
dbeaver
项目概览
suliangchun
/
dbeaver
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
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,发现更多精彩内容 >>
提交
373e469f
编写于
4月 16, 2016
作者:
S
Serge Rider
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Postgre code cleanup
上级
02b84e65
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
4 addition
and
42 deletion
+4
-42
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/PostgreDataSourceProvider.java
...iss/dbeaver/ext/postgresql/PostgreDataSourceProvider.java
+0
-5
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/PostgreServerHome.java
...c/org/jkiss/dbeaver/ext/postgresql/PostgreServerHome.java
+0
-33
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/edit/PostgreEnumValueManager.java
.../dbeaver/ext/postgresql/edit/PostgreEnumValueManager.java
+1
-1
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/model/session/PostgreSessionManager.java
...r/ext/postgresql/model/session/PostgreSessionManager.java
+1
-1
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/ui/PostgreConnectionPage.java
...kiss/dbeaver/ext/postgresql/ui/PostgreConnectionPage.java
+1
-1
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/ui/PostgreCreateSchemaDialog.java
.../dbeaver/ext/postgresql/ui/PostgreCreateSchemaDialog.java
+1
-1
未找到文件。
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/PostgreDataSourceProvider.java
浏览文件 @
373e469f
...
...
@@ -48,11 +48,6 @@ public class PostgreDataSourceProvider extends JDBCDataSourceProvider implements
// Set utf-8 as default charset
connectionsProps
.
put
(
"characterEncoding"
,
"utf-8"
);
connectionsProps
.
put
(
"tinyInt1isBit"
,
"false"
);
// Auth plugins
// connectionsProps.put("authenticationPlugins",
// "com.mysql.jdbc.authentication.MysqlClearPasswordPlugin," +
// "com.mysql.jdbc.authentication.MysqlOldPasswordPlugin," +
// "org.jkiss.jdbc.mysql.auth.DialogAuthenticationPlugin");
}
public
static
Map
<
String
,
String
>
getConnectionsProps
()
{
...
...
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/PostgreServerHome.java
浏览文件 @
373e469f
...
...
@@ -67,38 +67,5 @@ public class PostgreServerHome extends JDBCClientHome {
public
String
getDataDirectory
()
{
return
dataDirectory
;
}
/*
private String getFullServerVersion()
{
String cmd = new File(
new File(getHomePath(), "bin"),
MySQLUtils.getMySQLConsoleBinaryName()).getAbsolutePath();
try {
Process p = Runtime.getRuntime().exec(new String[] {cmd, "-V"});
try {
BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream()));
try {
String line;
while ((line = input.readLine()) != null) {
int pos = line.indexOf("Distrib ");
if (pos != -1) {
pos += 8;
int pos2 = line.indexOf(",", pos);
return line.substring(pos, pos2);
}
}
} finally {
IOUtils.close(input);
}
} finally {
p.destroy();
}
}
catch (Exception ex) {
log.warn("Error reading MySQL server version from " + cmd, ex);
}
return null;
}
*/
}
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/edit/PostgreEnumValueManager.java
浏览文件 @
373e469f
...
...
@@ -34,7 +34,7 @@ import org.jkiss.dbeaver.ui.data.managers.BaseValueManager;
import
org.jkiss.dbeaver.ui.dialogs.data.DefaultValueViewDialog
;
/**
*
My
SQL ENUM value manager
*
Postgre
SQL ENUM value manager
*/
public
class
PostgreEnumValueManager
extends
BaseValueManager
{
...
...
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/model/session/PostgreSessionManager.java
浏览文件 @
373e469f
...
...
@@ -33,7 +33,7 @@ import java.util.List;
import
java.util.Map
;
/**
*
MySQL
session manager
*
Postgre
session manager
*/
public
class
PostgreSessionManager
implements
DBAServerSessionManager
<
PostgreSession
>
{
...
...
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/ui/PostgreConnectionPage.java
浏览文件 @
373e469f
...
...
@@ -39,7 +39,7 @@ import org.jkiss.utils.CommonUtils;
import
java.util.Locale
;
/**
*
MySQL
ConnectionPage
*
Postgre
ConnectionPage
*/
public
class
PostgreConnectionPage
extends
ConnectionPageAbstract
implements
ICompositeDialogPage
{
...
...
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/ui/PostgreCreateSchemaDialog.java
浏览文件 @
373e469f
...
...
@@ -43,7 +43,7 @@ import java.util.ArrayList;
import
java.util.List
;
/**
*
MySQLCreateDatabase
Dialog
*
PostgreCreateSchema
Dialog
*/
public
class
PostgreCreateSchemaDialog
extends
BaseDialog
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录