From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Robert Haas <rhaas@postgresql.org>
Cc: pgsql-hackers@postgresql.org
Cc: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Subject: Re: [COMMITTERS] pgsql: Fix a bug in how we generate partition constraints.
Date: Fri, 13 Jan 2017 16:18:28 -0300
Message-ID: <20170113191828.wqgv3rlo5qqzrqgl@alvherre.pgsql> (raw)
In-Reply-To: <E1cS7Bm-0005BQ-CE@gemulon.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: alvherre@2ndquadrant.com, rhaas@postgresql.org, pgsql-hackers@postgresql.org, Langote_Amit_f8@lab.ntt.co.jp
Subject: Re: [COMMITTERS] pgsql: Fix a bug in how we generate partition constraints.
In-Reply-To: <20170113191828.wqgv3rlo5qqzrqgl@alvherre.pgsql>
References: <E1cS7Bm-0005BQ-CE@gemulon.postgresql.org> <20170113191828.wqgv3rlo5qqzrqgl@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox