pgsql: After a MINVALUE/MAXVALUE bound, allow only more of the same.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: After a MINVALUE/MAXVALUE bound, allow only more of the same.
Date: 2017-09-16 01:34:21
Message-ID: E1dt1zx-0005ze-Hc@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

After a MINVALUE/MAXVALUE bound, allow only more of the same.

In the old syntax, which used UNBOUNDED, we had a similar restriction,
but commit d363d42bb9a4399a0207bd3b371c966e22e06bd3, which changed the
syntax, eliminated it. Put it back.

Patch by me, reviewed by Dean Rasheed.

Discussion: http://postgr.es/m/CA+Tgmobs+pLPC27tS3gOpEAxAffHrq5w509cvkwTf9pF6cWYbg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9361f6f54e3ff9bab84e80d4b1e15be79b48d60e

Modified Files
--------------
doc/src/sgml/ref/create_table.sgml | 11 ++++---
src/backend/parser/parse_utilcmd.c | 48 ++++++++++++++++++++++++++++++
src/test/regress/expected/create_table.out | 12 ++++----
src/test/regress/expected/inherit.out | 4 +--
src/test/regress/expected/insert.out | 35 +++++++++++++++-------
src/test/regress/sql/create_table.sql | 6 ++--
src/test/regress/sql/inherit.sql | 4 +--
src/test/regress/sql/insert.sql | 19 +++++++-----
8 files changed, 102 insertions(+), 37 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-09-16 01:35:43 Re: Re: [COMMITTERS] pgsql: Use MINVALUE/MAXVALUE instead of UNBOUNDED for range partition b
Previous Message Alvaro Herrera 2017-09-15 22:40:43 pgsql: src/test/ldap: Fix test function in Linux port