Re: Print baserestrictinfo for varchar fields - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Print baserestrictinfo for varchar fields
Date
Msg-id 8119.1559540242@sss.pgh.pa.us
Whole thread Raw
In response to Print baserestrictinfo for varchar fields  (Donald Dong <xdong@csumb.edu>)
Responses Re: Print baserestrictinfo for varchar fields
List pgsql-hackers
Donald Dong <xdong@csumb.edu> 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 it is.  I'd rather
spend effort on ripping it out in favor of using the far more
complete, and better-tested, code in ruleutils.c.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [PATCH] Simple typos fix
Next
From: Haribabu Kommi
Date:
Subject: Re: Libpq support to connect to standby server as priority