简体   繁体   English

如何检查我的数据库中是否启用了约束排除?

[英]How to check whether constraint_exclusion is enabled or not in my database?

As per official Postgres documents default value of constraint_exclusion is "partition".根据Postgres 官方文档,constraint_exclusion 的默认值为“partition”。 How can I ensure this?我怎样才能确保这一点? Is there any way to check current value from PgAdmin?有没有办法从 PgAdmin 检查当前值?

SHOW will display the current setting of run-time parameters. SHOW将显示运行时参数的当前设置。

Show constraint_exclusion;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM