
# DDL
#### GS_213100016
错误码： column %s cannot be cast automatically to type %s.
解决方案：指定要执行转换的使用表达式。
level： ERROR
#### GS_213100046
错误码： %s is an exclude index.
解决方案：分区表不支持EXCLUDE索引。
level： ERROR
#### GS_213100047
错误码： %s is an deferrable index.
解决方案：分区表不支持延迟索引。
level： ERROR
#### GS_213100048
错误码： index %s is not valid.
解决方案：无法更改索引无效的表。
level： ERROR
#### GS_213100054
错误码： partition does not support to specify TABLESPACE.
解决方案：冷热表的冷数据分区或OBS分区不支持拆分指定表空间。
level： ERROR
#### GS_213100059
错误码： cannot add partition since table %s\\ already has %d boundaries.
解决方案：边界的数量不能大于%d。
level： ERROR
#### GS_213100060
错误码： cannot add partition since partition %s has too many boundaries.
解决方案：边界的数量不能大于%d。
level： ERROR
#### GS_213100092
错误码： cannot set enable_foreign_table_query_rewrite = false when materialized view enable query rewrite.
解决方案：修改物化视图禁用查询重写。
level： ERROR
#### GS_213100100
错误码： language %s does not exist.
解决方案：使用CREATE LANGUAGE将语言加载到数据库中。
level： ERROR
#### GS_213100108
错误码： %s is an aggregate function.
解决方案：使用ALTER AGGREGATE重命名聚合函数。
level： ERROR
#### GS_213100131
错误码： %s is a table's row type.
解决方案：改用ALTER TABLE。
level： ERROR
#### GS_213100164
错误码： unsupported language %s.
解决方案：DWS支持的过程语言的"模板"信息已在系统表pg_pltemplate中列出，请选择支持的语言。
level： ERROR
#### GS_213100178
错误码： unsupported drop schema %s which has created volatile temp tables in other session.
解决方案：不支持删除在其他会话中已创建volatile临时表的schema，请在创建schema的会话中删除schema。
level： ERROR
#### GS_213100179
错误码： could not determine which collation to use for view column %s.
解决方案：请使用COLLATE子句显式设置排序规则。
level： ERROR
#### GS_213100201
错误码： partition does not support to specify TABLESPACE.
解决方案：冷热表的冷数据分区或OBS分区不支持拆分指定表空间。
level： ERROR
#### GS_213100335
错误码： %s is an aggregate function.
解决方案：请使用ALTER AGGREGATE更改聚合函数的owner。
level： ERROR
#### GS_213110017
错误码： option %s not recognized.
解决方案：请使用有效选项dsn。
level： ERROR
#### GS_213110027
错误码： LOCATION is not supported anymore.
解决方案：可考虑改用表空间。
level： WARNING
#### GS_213110068
错误码： %s is an aggregate function.
解决方案：请使用DROP AGGREGATE删除聚合函数。
level： ERROR
#### GS_213110096
错误码： split point doesn't match partition key.
解决方案：分割点与分区键不匹配，分割点的数量应该等于分区键的数量。
level： ERROR
#### GS_213110100
错误码： the number of boundaries cannot be greater than %d.
解决方案：边界数量超出限制。
level： ERROR
#### GS_213130080
错误码： default value cannot reference to a column.
解决方案: 默认值可能是用双引号括起来的。
level： ERROR
#### GS_213130085
错误码： cannot change owner of index %s.
解决方案：请使用Grant更改索引表的所有权。
level： WARNING
#### GS_213130086
错误码： %s is a composite type.
解决方案：请使用ALTER TYPE修改类型。
level： ERROR
#### GS_213140026
错误码： too many partitions for partitioned table.
解决方案：分区数不能超过%d。
level： ERROR
#### GS_213140035
错误码： cannot alter array type %s.
解决方案：您不可以更改类型%s。
level： ERROR
#### GS_213140051
错误码： some relations of database %s are already in tablespace %s.
解决方案：在使用此命令之前，必须将它们移回数据库的默认表空间。
level： ERROR
#### GS_213140060
错误码： Modifying cross-database private object is not supported.
解决方案：请切换到%s并运行此命令。
level： ERROR
#### GS_213140082
错误码： Too many partition keys for partitioned table.
解决方案：分区键不能超过%d。
level： ERROR
#### GS_213140089
错误码： no boundary is reserved for partition %s.
解决方案：列表分区必须至少包含一个边界。
level： ERROR
#### GS_213140116
错误码： cannot alter type %s because it is the type of a typed table.
解决方案：使用ALTER...CASCADE更改键入的表。
level： ERROR
#### GS_213140143
错误码： cannot execute %s in a read-only transaction.
解决方案：清理磁盘空间。
level： ERROR
#### GS_213150009
错误码： Permission denied when creating data source %s.
解决方案：必须是系统管理员才能创建数据源。
level： ERROR
#### GS_213150010
错误码： Permission denied when changing owner of data source %s.
解决方案：必须是系统管理员才能更改数据源的owner。
level： ERROR
#### GS_213150011
错误码： Permission denied when changing owner of data source %s.
解决方案：数据源的所有者必须是系统管理员。
level： ERROR
#### GS_213150017
错误码： Permission denied when creating directory %s.
解决方案：必须是系统管理员才能创建目录。
level： ERROR
#### GS_213150018
错误码： Permission denied when dropping directory %s.
解决方案：必须是系统管理员才能删除目录。
level： ERROR
#### GS_213150019
错误码： Permission denied when changing owner of directory.
解决方案：新owner必须是系统管理员才能更改目录。
level： ERROR
#### GS_213150022
错误码： permission denied to create extension %s.
解决方案：必须是系统管理员才能创建此扩展。
level： ERROR
#### GS_213150023
错误码： permission denied to update extension %s.
解决方案：必须是系统管理员才能升级此扩展。
level： ERROR
#### GS_213180038
错误码： It is unsupported to rename database %s.
解决方案：数据库可能在DFS表空间%s上，也可能有多温表。
level： ERROR
#### GS_213180079
错误码： PARTIAL_CLUSTER_ROWS cannot be less than MAX_BATCHROW.
解决方案：PARTIAL_CLUSTER_ROWS必须大于或等于MAX_BATCHROW。PARTIAL_CLUSTER_ROWS是MAX_BATCHROW乘以一个整数。
level： ERROR
#### GS_213180083
错误码： can't merge partition because partition %s has unusable local index.
解决方案：请先对不可用的索引进行重建。
level： ERROR
#### GS_213180126
错误码： column %s inherits conflicting default values.
解决方案：要解决冲突，请使用与默认值匹配的值。
level： ERROR
#### GS_213200015
错误码： materialized view contains foreign table %s is suggested to set ENABLE QUERY REWRITE when enable_foreign_table_query_rewrite = true.
解决方案：可使用ALTER MATERIALIZED VIEW启用查询重写：ALTER MATERIALIZED VIEW matview_name ENABLE QUERY REWRITE。
level： NOTICE
