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

From: pabloa98 <pabloa98(at)gmail(dot)com>
To: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(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 02:07:57
Message-ID: CAEjudX4aurPVScmnm9BGJeHeE=jiPRESUiKaSNaQ7JBaj+VP_w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thank you David, I will use list.

On Wed, Apr 17, 2019 at 6:42 PM David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
wrote:

> 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

Browse pgsql-general by date

  From Date Subject
Next Message Michel Pelletier 2019-04-18 02:47:15 Re: Method to pass data between queries in a multi-statement transaction
Previous Message pabloa98 2019-04-18 02:07:30 Re: is it possible to create partitioned tables using tables from different schemas