generateClonedExtStatsStmt just copy t0's ext_stat info to t1.
I think we could do something in transformExtendedStatistics() as the
comments said.
in transformCreateStmt, has below code:
/*
* Postprocess extended statistics.
*/
transformExtendedStatistics(&cxt);
Right now, there is nothing to do in transformExtendedStatistics.
Can we update the varattno to the right value here?
--
Tender Wang
OpenPie: https://en.openpie.com/