本文汇总了云数据库 PostgreSQL 版在数据库名称、账号名称和 schema 名称中的保留关键字。为数据库、账号或 schema 进行命名时,不允许使用这些关键字。
说明
仅针对关键字的小写进行校验,全部大写或部分大写的关键字可以使用。
保留对象 | 关键字 |
---|
账号名称、数据库名称和 schema 名称 | all ,analyse ,analyze ,and ,any ,array ,as ,asc ,asymmetric ,authorization ,binary ,both ,case ,cast ,check ,collate ,collation ,column ,concurrently ,constraint ,create ,cross ,current_catalog ,current_date ,current_role ,current_schema ,current_time ,current_timestamp ,current_user ,default ,deferrable ,desc ,distinct ,do ,else ,end ,except ,false ,fetch ,for ,foreign ,freeze ,from ,full ,grant ,group ,having ,ilike ,in ,initially ,inner ,intersect ,into ,is ,isnull ,join ,lateral ,leading ,left ,like ,limit ,localtime ,localtimestamp ,natural ,not ,notnull ,null ,offset ,on ,only ,or ,order ,outer ,overlaps ,placing ,primary ,references ,returning ,right ,select ,session_user ,similar ,some ,symmetric ,table ,tablesample ,then ,to ,trailing ,true ,union ,unique ,user ,using ,variadic ,verbose ,when ,where ,window ,with
|
账号名称 | byte_rds_proxy ,byte_rds_repl ,ccp_monitoring ,dbw_admin ,mpp_op_account ,postgres ,primaryuser ,rds_shard |
数据库名称 | byte_mppdb ,information_schema ,postgres ,template0 ,template1 |
schema 名称 | columnar ,columnar_internal ,information_schema ,pg_catalog |