Re: Planner statistics usage for composite type

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Dmitry Lazurkin <dilaz03(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Planner statistics usage for composite type
Date: 2017-07-19 16:18:07
Message-ID: 30785.1500481087@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Stephen Frost <sfrost(at)snowman(dot)net> writes:
> * Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gavin Wahl 2017-07-19 17:10:52 Two-phase commit case studies
Previous Message Stephen Frost 2017-07-19 15:54:53 Re: Planner statistics usage for composite type