| From: | jian he <jian(dot)universality(at)gmail(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: support fast default for domain with constraints |
| Date: | 2025-03-06 03:04:50 |
| Message-ID: | CACJufxHtbn6pUPt8RRXv8BAFX67K5gyqR5SGwu8P1nSEF=ts9g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
hi.
rearrange the patch.
v3-0001 and v3-0002 is preparare patches.
v3-0001 add function: ExecPrepareExprSafe and ExecInitExprSafe.
v3-0002 add function: DomainHaveVolatileConstraints
v3-0003 tests and apply fast default for domain with constraints.
v3-0003 table with empty rows aligned with master behavior.
also no table rewrite if the domain has volatile check constraints,
so less surprising behavior.
| Attachment | Content-Type | Size |
|---|---|---|
| v3-0001-soft-error-variant-of-ExecPrepareExpr-ExecInitExp.patch | text/x-patch | 3.9 KB |
| v3-0002-add-function-DomainHaveVolatileConstraints.patch | text/x-patch | 2.6 KB |
| v3-0003-fast-default-for-domain-with-constraints.patch | text/x-patch | 14.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2025-03-06 03:41:24 | Re: Statistics Import and Export |
| Previous Message | Corey Huinker | 2025-03-06 03:00:42 | Re: Statistics Import and Export |