From: | Dmitrii Bondar <d(dot)bondar(at)postgrespro(dot)ru> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Paul Jungwirth <pj(at)illuminatedcomputing(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Lilian <ontowhee(at)gmail(dot)com> |
Subject: | Re: [fixed] Trigger test |
Date: | 2025-04-04 05:45:37 |
Message-ID: | d682c11c-0d2e-453a-9af8-166fcca4c3b1@postgrespro.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 04/04/2025 01:11, Tom Lane wrote:
> So that's a long laundry list and we haven't even dug hard.
> Is it worth it? If you feel like doing the legwork then
> I'm willing to support the project, but I really wonder if
> we shouldn't cut our losses and just remove the module.
>
> (I hesitate now to look at the rest of contrib/spi/ :-()
You wrote a note that I decided to omit. As I mentioned, the patch does
not even fix the cascade update problem—there are still broken
cases—because it seems impossible to address it in a gentle way (the
code was patched 20 years ago; it's truly legacy).
I considered removing it entirely, but that seemed too drastic a
solution (and, at the very least, I don't have enough expertise to make
that decision). If everything looks acceptable, I would prefer to cut
the module. The |check_primary_key| and |check_foreign| functions are
clearly unused, are buggy, and no one has reported any obvious
problems—so refint.c can be safely removed. Autoinc.c also looks
problematic.
There are some question. When should we remove the module? Should we
mark it as deprecated for now and remove it later? Should we handle it
in another thread? Should we apply this patch in that case?
Best regards,
Dmitrii
From | Date | Subject | |
---|---|---|---|
Next Message | Rushabh Lathia | 2025-04-04 05:49:47 | Re: Support NOT VALID / VALIDATE constraint options for named NOT NULL constraints |
Previous Message | Hayato Kuroda (Fujitsu) | 2025-04-04 05:33:56 | RE: Some codes refer slot()->{'slot_name'} but it is not defined |