Re: How to get an inclusive interval when using daterange

From: hmidi slim <hmidi(dot)slim2(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to get an inclusive interval when using daterange
Date: 2018-04-03 16:40:28
Message-ID: CAMsqVxu21bqOWfXGcT2zK9QRJNzmH-=7=+W-tjATHC3X-yyKXg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

HI,
I tried* insert into availability values ('product x',
'[2018-02-02,2018-03-01]'::daterange); *and I got the same result such as*
insert into availability values ('product x', daterange('2018-02-02',
'2018-03-01', '[]').*

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Paul Jungwirth 2018-04-03 17:12:52 Re: How to get an inclusive interval when using daterange
Previous Message Merlin Moncure 2018-04-03 16:30:07 Re: is pg_advisory_lock() suitable for long runs