On Mon, Jun 03, 2019 at 01:37:22AM -0400, Tom Lane wrote:
> It's hard to muster much enthusiasm for extending print_expr(),
> considering how incomplete and little-used it is. I'd rather
> spend effort on ripping it out in favor of using the far more
> complete, and better-tested, code in ruleutil
Donald Dong writes:
> I noticed that debug_print_rel outputs "unknown expr" when the fields
> in baserestrictinfo are typed as varchar.
> ...
> I wonder if this is a proper way of fixing it?
It's hard to muster much enthusiasm for extending print_expr(),
considering how incomplete and little-used
Hi,
I noticed that debug_print_rel outputs "unknown expr" when the fields
in baserestrictinfo are typed as varchar.
create table tbl_a(id int, info varchar(32));
RELOPTINFO (tbl_a): rows=4 width=86
baserestrictinfo: unknown expr = pattern
My approach is to handle the RelabelType case in