Re: is it possible to create partitioned tables using tables fromdifferent schemas - Mailing list pgsql-general

From David Rowley
Subject Re: is it possible to create partitioned tables using tables fromdifferent schemas
Date
Msg-id CAKJS1f9hGb3xAhhM6zK-9fMMhA=sWuZdF3RCGkRTNLA-cu7Mkw@mail.gmail.com
Whole thread Raw
In response to Re: is it possible to create partitioned tables using tables fromdifferent schemas  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: is it possible to create partitioned tables using tables fromdifferent schemas  (pabloa98 <pabloa98@gmail.com>)
List pgsql-general
On Thu, 18 Apr 2019 at 10:19, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
> CREATE TABLE automatic.measurement_automatic PARTITION OF
> automatic.measurement
> test-#     FOR VALUES FROM (1) TO (1)
> test-#     PARTITION BY RANGE (origin);
> ERROR:  empty range bound specified for partition "measurement_automatic"
> DETAIL:  Specified lower bound (1) is greater than or equal to upper
> bound (1).
>
> OOPS, so lets cheat:

Or you could partition by LIST.

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services



pgsql-general by date:

Previous
From: David Rowley
Date:
Subject: Re: is it possible to create partitioned tables using tables fromdifferent schemas
Next
From: pabloa98
Date:
Subject: Re: is it possible to create partitioned tables using tables fromdifferent schemas