Re: Optimze usage of immutable functions as relation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Optimze usage of immutable functions as relation
Дата
Msg-id 19228.1569338231@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Optimze usage of immutable functions as relation  (rmrodriguez@carto.com)
Список pgsql-hackers
rmrodriguez@carto.com 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: PostgreSQL12 and older versions of OpenSSL
Следующее
От: Nikolay Shaplov
Дата:
Сообщение: Re: [PATCH] src/test/modules/dummy_index -- way to test reloptions from inside of access method