[HACKERS] Re: [COMMITTERS] pgsql: Fix a bug in how we generate partitionconstraints. - Mailing list pgsql-hackers

From Alvaro Herrera
Subject [HACKERS] Re: [COMMITTERS] pgsql: Fix a bug in how we generate partitionconstraints.
Date
Msg-id 20170113191828.wqgv3rlo5qqzrqgl@alvherre.pgsql
Whole thread Raw
List pgsql-hackers
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 discussing this stuff a few days ago, see
https://www.postgresql.org/message-id/20170109182800.qrkae62kmur3gfeg@alvherre.pgsql
and commit 3957b58b8885441c8d03bc1cfc00e47cf8cd7975.  Part of this code
duplicates that ...

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] [PATCH] Rename pg_switch_xlog to pg_switch_wal
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] [COMMITTERS] pgsql: Fix a bug in how we generate partition constraints.