Re: Range partition creation failing due to incorrectly deciding lower bound greater than upper

From: Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Range partition creation failing due to incorrectly deciding lower bound greater than upper
Date: 2018-08-03 22:58:17
Message-ID: 3567c008-33f8-772b-cbb0-c6942822b2dc@catalyst.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 04/08/18 10:54, Mark Kirkwood wrote:

>
>
> part=# CREATE TABLE date_fact_2021 PARTITION OF date_fact
> FOR VALUES FROM ('2018-09-30 02:34:42.031250') TO ('2018-09-30
> 03:15:23.437500');
> ERROR:  empty range bound specified for partition "date_fact_2021"
> DETAIL:  Specified lower bound ('2018-09-30 03:34:42.03125+13') is
> greater than or equal to upper bound ('2018-09-30 03:15:23.4375+13').
>
> Err, that is weird - where did '2018-09-30 03:34:42.03125+13')come from?
>
>

Doh! New Zealand daylight saving kicks in just then - should have
checked that 1st, sorry.

regards
Mark

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2018-08-03 22:58:39 Re: Fwd: Problem with a "complex" upsert
Previous Message Mark Kirkwood 2018-08-03 22:54:52 Range partition creation failing due to incorrectly deciding lower bound greater than upper