From: tianbing@highgo.com
To: pgsql-bugs@postgresql.org
Subject: BUG #14725: Partition constraint issue on multiple columns as the key of range partition
Date: Sat, 01 Jul 2017 06:52:44 +0000
Message-ID: <20170701065244.1476.87707@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14725
Logged by: tian bing
Email address: tianbing@highgo.com
PostgreSQL version: 10beta1
Operating system: Linux
Description:
Hi,
When I use two columns as the key of range partition to create partition
table.
postgres=# create table test(n1 int, n2 int) partition by range(n1, n2);
CREATE TABLE
postgres=# create table test_1 partition of test for values from (0,0) to
(10,100);
CREATE TABLE
postgres=# create table test_2 partition of test for values from (10,100) to
(20,50);
CREATE TABLE
In partition test_2, partition constraint of the second column seem to be
improper(from 100 to 50). The value behind keyword "TO" should be larger
than value behind keyword "FROM".
Looking forward to your reply.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: tianbing@highgo.com
Subject: Re: BUG #14725: Partition constraint issue on multiple columns as the key of range partition
In-Reply-To: <20170701065244.1476.87707@wrigleys.postgresql.org>
References: <20170701065244.1476.87707@wrigleys.postgresql.org>
* 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