pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: pgsql-bugs@lists.postgresql.org
Subject: Re: Range partition creation failing due to incorrectly deciding lower bound greater than upper
Date: Sat, 4 Aug 2018 10:58:17 +1200
Message-ID: <3567c008-33f8-772b-cbb0-c6942822b2dc@catalyst.net.nz> (raw)
In-Reply-To: <eb8605c2-48fd-27d5-f8a3-bd9fa2d1cd18@catalyst.net.nz>
References: <eb8605c2-48fd-27d5-f8a3-bd9fa2d1cd18@catalyst.net.nz>

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





view thread (2+ messages)

Message-ID: <3567c008-33f8-772b-cbb0-c6942822b2dc@catalyst.net.nz>
Permalink:  ../3567c008-33f8-772b-cbb0-c6942822b2dc@catalyst.net.nz/
Also on:    postgresql.org/message-id/3567c008-33f8-772b-cbb0-c6942822b2dc@catalyst.net.nz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: mark.kirkwood@catalyst.net.nz
  Subject: Re: Range partition creation failing due to incorrectly deciding lower bound greater than upper
  In-Reply-To: <3567c008-33f8-772b-cbb0-c6942822b2dc@catalyst.net.nz>
  References: <eb8605c2-48fd-27d5-f8a3-bd9fa2d1cd18@catalyst.net.nz> <3567c008-33f8-772b-cbb0-c6942822b2dc@catalyst.net.nz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox