Re: ERROR: PlaceHolderVar found where not expected
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Guo <guofenglinux@gmail.com>
Cc: Tomas Vondra <tomas.vondra@enterprisedb.com>,
PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2023-03-14T15:11:16Z
Lists: pgsql-bugs
Richard Guo <guofenglinux@gmail.com> writes: > Yes agreed. The pull_var_clause precheck is not necessary considering > we would match the 'clause_expr' to StatisticExtInfo expressions with > equal(). +1 to remove it. Done that way. regards, tom lane
Commits
-
Remove unnecessary code in dependency_is_compatible_expression().
- 7c509f7e5a81 14.8 landed
- 684ffac8c7d2 16.0 landed
- 3b459444301c 15.3 landed