Re: [HACKERS] Range Partitioning behaviour - query

Поиск
Список
Период
Сортировка
От Amit Langote
Тема Re: [HACKERS] Range Partitioning behaviour - query
Дата
Msg-id 0aae38cf-5448-5eda-15f1-5ebd66b5ff8d@lab.ntt.co.jp
обсуждение исходный текст
Ответ на Re: [HACKERS] Range Partitioning behaviour - query  (Venkata B Nagothi <nag1010@gmail.com>)
Ответы Re: [HACKERS] Range Partitioning behaviour - query  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] btree_gin and btree_gist for enums