From: | jian he <jian(dot)universality(at)gmail(dot)com> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: domain over virtual generated column |
Date: | 2025-05-21 03:19:19 |
Message-ID: | CACJufxEQopHp0ZTrKtnFXQ1U9oWd2=35oShV3TSK=roYPsC+Dw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Apr 28, 2025 at 10:45 AM jian he <jian(dot)universality(at)gmail(dot)com> wrote:
>
> summary of attached patch:
> v1-0001
> we need to compute the generation expression for the domain with constraints,
> thus rename ExecComputeStoredGenerated to ExecComputeGenerated.
>
> v1-0002
> soft error variant of ExecPrepareExpr, ExecInitExpr. for soft error processing
> of CoerceToDomain. we don't want error messages like "value for domain d2
> violates check constraint "d2_check"" while validating existing domain data, we
> want something like:
> ERROR: column "b" of table "gtest24" contains values that violate the
> new constraint
>
> v1-0003 virtual generation columns over domain.
hi.
new patches attached.
mainly code refactoring, also try to reduce some unnecessary regress tests.
Attachment | Content-Type | Size |
---|---|---|
v2-0001-rename-ExecComputeStoredGenerated-to-ExecComputeGenerated.patch | text/x-patch | 5.2 KB |
v2-0003-domain-over-virtual-generated-column.patch | text/x-patch | 34.7 KB |
v2-0002-soft-error-variant-of-ExecPrepareExpr-ExecInitExpr.patch | text/x-patch | 3.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2025-05-21 03:54:36 | Re: Assertion failure in smgr.c when using pg_prewarm with partitioned tables |
Previous Message | Fujii Masao | 2025-05-21 02:59:24 | Re: [BUG] Skipped initialization of some xl_xact_parsed_prepare fields |