Re: [GENERAL] Planner statistics usage for composite type - Mailing list pgsql-general

From Tom Lane
Subject Re: [GENERAL] Planner statistics usage for composite type
Date
Msg-id 30785.1500481087@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] Planner statistics usage for composite type  (Stephen Frost <sfrost@snowman.net>)
List pgsql-general
Stephen Frost <sfrost@snowman.net> writes:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> Yeah, that's because eval_const_expressions doesn't know how to fold
>> a constant RowExpr to a simple Const.  I have a patch laying about
>> someplace to improve that, but I keep forgetting about it until
>> we're in beta phase :-(.  In the meantime you could perhaps do the
>> folding by hand:

> Put it into the CF..?

Actually, I did already:
https://commitfest.postgresql.org/14/1136/

            regards, tom lane


pgsql-general by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [GENERAL] Planner statistics usage for composite type
Next
From: Gavin Wahl
Date:
Subject: [GENERAL] Two-phase commit case studies