视图table_constraints
包含属于特定表的所有约束,这些表要满足的条件是:当前用户拥有表或者是当前用户在表上具有某种除SELECT
之外的特权。
表 36.46. table_constraints
列
列类型 描述 |
---|
包含该约束的数据库名称(总是当前数据库) |
包含该约束的模式名称 |
约束名称 |
包含该表的数据库名称(总是当前数据库) |
包含该表的模式名称 |
表名称 |
该约束的类型: |
如果该约束是可延迟的,则为 |
如果该约束是可延迟的并且是初始已被延迟,则为 |
适用于一种PostgreSQL中不可用的特性(当前总是 |
5.1.标识缺陷5.2.报告什么当你在PostgreSQL中找到一个缺陷时,我们希望听到关于它的事情。你的缺陷报告在使得PostgreSQL更可靠的...
目录5.1. 表基础5.2. 默认值5.3. 生成列5.4. 约束5.4.1. 检查约束5.4.2. 非空约束5.4.3. 唯一约束5.4.4. 主键5.4.5. 外键5.4.6. ...
目录pg_extension存储有关已安装扩展的信息。有关扩展的细节请参见第37.17节。表51.22.pg_extension Columns列类型描述 oidoid行...
目录pg_shdescription存储共享数据库对象的可选描述(注释)。描述可以通过COMMENT命令操作,并且可以使用psql的d命令来查看。另...
54.1.给翻译者54.1.1. 需求54.1.2. 概念54.1.3. 创建并维护消息目录54.1.4. 编辑 PO 文件 PostgreSQL程序(服务器和客户端)可以...
一、项目错误处理痛点我们在业务项目中,经常会遇到以下痛点。1、缺少统一错误处理方案,代码中随处可见的日志打桩为了方便接口...
配置文件我们推荐使用配置组件来管理数据库配置,并使用g对象管理模块中的g.DB("数据库分组名称")方法获取数据库操作对...
gredis组件支持两种方式来管理redis配置和获取redis对象,一种是通过配置组件+单例对象的方式;一种是模块化通过配...