Re: [HACKERS] Range Partitioning behaviour - query - Mailing list pgsql-hackers

From Amit Langote
Subject Re: [HACKERS] Range Partitioning behaviour - query
Date
Msg-id 0aae38cf-5448-5eda-15f1-5ebd66b5ff8d@lab.ntt.co.jp
Whole thread Raw
In response to Re: [HACKERS] Range Partitioning behaviour - query  (Venkata B Nagothi <nag1010@gmail.com>)
Responses Re: [HACKERS] Range Partitioning behaviour - query
List pgsql-hackers
On 2017/02/24 8:38, Venkata B Nagothi wrote:
> On Thu, Feb 23, 2017 at 3:14 PM, Amit Langote wrote:
>> Upper bound of a range partition is an exclusive bound.  A note was added
>> recently to the CREATE TABLE page to make this clear.
>>
>> https://www.postgresql.org/docs/devel/static/sql-createtable.html
> 
> 
> Thanks. Actually, my confusion was that the upper bound value would be
> included when "TO" clause is used in the syntax.

Hmm, TO sounds like it implies inclusive.

> Also, there are no options like "<" or "LESS THAN" clauses available. So,
> "TO" translates to "<". That is what i wanted to confirm.

Yes, that's it.

Thanks,
Amit





pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] btree_gin and btree_gist for enums