Re: [HACKERS] pgsql: Avoid coercing a whole-row variable that is already coerced

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [HACKERS] pgsql: Avoid coercing a whole-row variable that is already coerced
Дата
Msg-id CA+TgmoYj8ynJOqnDT6ECC2uK7MT-zjj=_x8q_EJ2VnR1QG57aQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] pgsql: Avoid coercing a whole-row variable that is already coerced  (Amit Khandekar <amitdkhan.pg@gmail.com>)
Ответы Re: [HACKERS] pgsql: Avoid coercing a whole-row variable that is already coerced  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Oct 13, 2017 at 5:57 AM, Amit Khandekar <amitdkhan.pg@gmail.com> wrote:
> One thing we can do is : instead of calling
> map_variable_attnos_mutator(), convert the var inside the if block for
> "if (IsA(node, ConvertRowtypeExpr))". Please check the attached patch.
> There, I have avoided coerced_var context variable.

Tom, is this more like what you have in mind?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: [HACKERS] Predicate Locks for writes?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Aggregate transition state merging vs. hypothetical set functions