On Tue, Feb 13, 2018 at 2:17 PM, Amit Langote <langote_amit...@lab.ntt.co.jp> wrote: > > Agree with the proposed reorganizing and adding a partcache.c, which I > tried to do in the attached patch. > > * The new src/backend/utils/cache/partcache.c contains functions that > initialize relcache's partitioning related fields. Various partition > bound comparison and search functions (and then some) that work off of the > cached information are moved.
Are you moving partition bound comparison functions to partcache.c? They will also used by optimizer, so may be leave them out of partcache.c? -- Best Wishes, Ashutosh Bapat EnterpriseDB Corporation The Postgres Database Company