Re: WIP: Upper planner pathification - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WIP: Upper planner pathification
Date
Msg-id 18087.1457635711@sss.pgh.pa.us
Whole thread Raw
In response to Re: WIP: Upper planner pathification  (Andres Freund <andres@anarazel.de>)
Responses Re: WIP: Upper planner pathification
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> I see that you made a lot of formerly externally visible make_* routines
> static. The Citus extension (which will be open source in a few days)
> uses several of these (make_agg, make_sort_from_sortclauses, make_limit
> at least).

> Can we please re-consider making these static?

That was intentional: in my opinion, nothing outside createplan.c ought
to be making Plan nodes anymore.  The expectation is that you make a
Path describing what you want.  Can you explain why, in the new planner
structure, it would be sane to have external callers of these functions?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Add generate_series(date,date) and generate_series(date,date,integer)
Next
From: Andres Freund
Date:
Subject: Re: pg_rewind just doesn't fsync *anything*?