Re: is it possible to create partitioned tables using tables from different schemas

From: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: pabloa98 <pabloa98(at)gmail(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: is it possible to create partitioned tables using tables from different schemas
Date: 2019-04-18 01:42:34
Message-ID: CAKJS1f9hGb3xAhhM6zK-9fMMhA=sWuZdF3RCGkRTNLA-cu7Mkw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 18 Apr 2019 at 10:19, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message pabloa98 2019-04-18 02:07:30 Re: is it possible to create partitioned tables using tables from different schemas
Previous Message David Rowley 2019-04-18 01:41:04 Re: is it possible to create partitioned tables using tables from different schemas