[HACKERS] Re: [COMMITTERS] pgsql: Fix a bug in how we generate partition constraints.

2017-01-13 Thread Alvaro Herrera
Robert Haas wrote: > On Fri, Jan 13, 2017 at 2:31 PM, Robert Haas wrote: > > On Fri, Jan 13, 2017 at 2:18 PM, Alvaro Herrera > > wrote: > >> Hmm, we were discussing this stuff a few days ago, see > >>

[HACKERS] Re: [COMMITTERS] pgsql: Fix a bug in how we generate partition constraints.

2017-01-13 Thread Alvaro Herrera
Robert Haas wrote: > Fix a bug in how we generate partition constraints. > > Move the code for doing parent attnos to child attnos mapping for Vars > in partition constraint expressions to a separate function > map_partition_varattnos() and call it from the appropriate places. Hmm, we were