Re: COPY planning

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COPY planning
Дата
Msg-id 7557.1442865691@sss.pgh.pa.us
обсуждение исходный текст
Ответ на COPY planning  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: COPY planning
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> I noticed that COPY calls planner() (this was introduced in 85188ab88).
> I think it should be calling pg_plan_query() instead.

+1 --- AFAICS, this is the *only* place that is going directly to
planner() without going through pg_plan_query(); other utility
functions such as CREATE TABLE AS do the latter.

As far as the patch goes, do copy.c's #include's need adjustment?
I'm wondering if optimizer/planner.h could be removed, in particular.
        regards, tom lane



В списке pgsql-hackers по дате отправления: