提交 1416875e 编写于 作者: S Serge Rider 提交者: GitHub

Merge pull request #12341 from dbeaver/domainPGcollate#12325

#12325 wrap domain collate definition in double quotes

Former-commit-id: 4c6f037c
......@@ -625,7 +625,7 @@ public class PostgreDataType extends JDBCDataType<PostgreSchema> implements Post
}
PostgreCollation collation = getCollationId(monitor);
if (collation != null) {
sql.append("\n\tCOLLATE ").append(collation.getName()); //$NON-NLS-1$
sql.append("\n\tCOLLATE ").append(DBUtils.getQuotedIdentifier(collation)); //$NON-NLS-1$
}
if (!CommonUtils.isEmpty(defaultValue)) {
sql.append("\n\tDEFAULT ").append(defaultValue); //$NON-NLS-1$
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册