Amit Langote <amitlangot...@gmail.com> writes: >> On Sun, Dec 22, 2019 at 6:13 AM Tom Lane <t...@sss.pgh.pa.us> wrote: >>> I wonder whether we couldn't also lift >>> the restriction against whole-row Vars in partition expressions. >>> Doesn't seem like there is much difference between such a Var and >>> a row(...)::table_rowtype expression.
> I gave that a try and ended up with attached that applies on top of > your delay-loading-relcache-partition-data-2.patch. Pushed with minor fixes. regards, tom lane