Re: ERROR: failed to find conversion function from key_vals_nn to record[]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Bryn Llewellyn <bryn(at)yugabyte(dot)com>, pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: ERROR: failed to find conversion function from key_vals_nn to record[]
Date: 2022-06-16 14:54:27
Message-ID: 913265.1655391267@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> The fact that a domain over an array isn’t being seen as an array here
> seems like a bug.

Hmm. The attached quick-hack patch seems to make this better, but
I'm not sure whether there are any cases it makes worse.

regards, tom lane

Attachment Content-Type Size
treat-RECORD-as-polymorphic-in-ScalarArray-Op-1.patch text/x-diff 838 bytes

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Popowich 2022-06-16 19:59:37 Operators on ranges with a domain subtype do not implicitly cast operands of the domain's base type
Previous Message Adrian Klaver 2022-06-16 14:33:34 Re: