pgsql: Fix CREATE TABLE LIKE with not-valid check constraint

2025-09-17 Thread Peter Eisentraut
Fix CREATE TABLE LIKE with not-valid check constraint In CREATE TABLE ... LIKE, any check constraints copied from the source table should be set to valid if they are ENFORCED (the default). Bug introduced in commit ca87c415e2f. Author: jian he Discussion: https://www.postgresql.org/message-id/

pgsql: Fix CREATE TABLE LIKE with not-valid check constraint

2025-09-10 Thread Peter Eisentraut
Fix CREATE TABLE LIKE with not-valid check constraint In CREATE TABLE ... LIKE, any check constraints copied from the source table should be set to valid if they are ENFORCED (the default). Bug introduced in commit ca87c415e2f. Author: jian he Discussion: https://www.postgresql.org/message-id/