pgsql: Fix failure for generated column with a not-null domain constrai

2025-04-15 Thread Tom Lane
Fix failure for generated column with a not-null domain constraint. If a GENERATED column is declared to have a domain data type where the domain's constraints disallow null values, INSERT commands failed because we built a targetlist that included coercing a null constant to the domain's type. T

pgsql: Fix failure for generated column with a not-null domain constrai

2025-04-15 Thread Tom Lane
Fix failure for generated column with a not-null domain constraint. If a GENERATED column is declared to have a domain data type where the domain's constraints disallow null values, INSERT commands failed because we built a targetlist that included coercing a null constant to the domain's type. T

pgsql: Fix failure for generated column with a not-null domain constrai

2025-04-15 Thread Tom Lane
Fix failure for generated column with a not-null domain constraint. If a GENERATED column is declared to have a domain data type where the domain's constraints disallow null values, INSERT commands failed because we built a targetlist that included coercing a null constant to the domain's type. T

pgsql: Fix failure for generated column with a not-null domain constrai

2025-04-15 Thread Tom Lane
Fix failure for generated column with a not-null domain constraint. If a GENERATED column is declared to have a domain data type where the domain's constraints disallow null values, INSERT commands failed because we built a targetlist that included coercing a null constant to the domain's type. T

pgsql: Fix failure for generated column with a not-null domain constrai

2025-04-15 Thread Tom Lane
Fix failure for generated column with a not-null domain constraint. If a GENERATED column is declared to have a domain data type where the domain's constraints disallow null values, INSERT commands failed because we built a targetlist that included coercing a null constant to the domain's type. T