| From: | Neil Conway <neilc(at)samurai(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-patches <pgsql-patches(at)postgresql(dot)org>, david(at)justatheory(dot)com |
| Subject: | Re: domain constraints and UNKNOWN params |
| Date: | 2006-01-12 05:28:40 |
| Message-ID: | 1137043720.9143.123.camel@localhost.localdomain |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-patches |
On Wed, 2006-01-11 at 23:31 -0500, Tom Lane wrote:
> This is a good catch, but the patch's added check on targetTyptype is a
> waste of code and cycles. coerce_to_domain is perfectly capable of
> doing nothing when nothing is called for.
Ah, right. Attached is a corrected patch.
> I wonder whether there is any reasonably simple way to audit the whole
> backend for missing domain processing...
Yeah, I've been thinking along the same lines -- the recent spate of
issues doesn't give me a lot of confidence in the correctness or
completeness of the current implementation. I don't really see a way to
check the code that doesn't require a fair amount of manual auditing,
though...
-Neil
| Attachment | Content-Type | Size |
|---|---|---|
| unknown_prep_stmt_domain-2.patch | text/x-patch | 728 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2006-01-12 05:45:56 | Re: domain constraints and UNKNOWN params |
| Previous Message | ITAGAKI Takahiro | 2006-01-12 05:22:41 | Re: Free WAL caches on switching segments |