Re: Where to change the column width in RelOptInfo data - Mailing list pgsql-admin

From Tom Lane
Subject Re: Where to change the column width in RelOptInfo data
Date
Msg-id 2093.1532529331@sss.pgh.pa.us
Whole thread Raw
In response to Where to change the column width in RelOptInfo data  (范国腾 <fanguoteng@highgo.com>)
List pgsql-admin
=?gb2312?B?t7a5+sza?= <fanguoteng@highgo.com> writes:
> I use a postgres extension plugin pg_strom to generate the plan. I select one column ¡°avg(c_acctbal)¡± in the SQL,
andthe generated plan changes to select two column ¡°c_acctbal, c_phone¡±. 

I think you'd be better off doing that sort of thing in the rewriter
somewhere.  Wherever you tried to put it in the planner is clearly
too late.

            regards, tom lane


pgsql-admin by date:

Previous
From: Scott Ribe
Date:
Subject: Re: Granting any privilege for a specific set of tables in postgresin a single shot!..
Next
From: Wells Oliver
Date:
Subject: Join plan issue with inherited tables