Re: Optimze usage of immutable functions as relation - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Optimze usage of immutable functions as relation
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: Optimze usage of immutable functions as relation  ([email protected])
List pgsql-hackers
[email protected] writes:
> This commit is breaking some Postgis tests with custom types.

Hm, yeah, the code fails to consider the possibility that the function
returns a composite type.

For the moment I'm just going to make it punt if the function result
class isn't TYPEFUNC_SCALAR.  In principle, if we have a composite
result, we could disassemble it into per-column constant values, but
I'm not sure it'd be worth the work.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: PostgreSQL12 and older versions of OpenSSL
Next
From: Nikolay Shaplov
Date:
Subject: Re: [PATCH] src/test/modules/dummy_index -- way to test reloptions from inside of access method