pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael.paquier@gmail.com>
To: Alban Hertroys <haramrae@gmail.com>
Cc: Postgres General <pgsql-general@postgresql.org>
Subject: Re: Updating a pre-10 partitioned table to use PG 10 partitioning
Date: Fri, 12 Jan 2018 10:40:08 +0900
Message-ID: <20180112014008.GC2222@paquier.xyz> (raw)
In-Reply-To: <CAF-3MvOnTxqwdiaZDo9CSKT4026asHrta=9Av-7DBJdT35VcNw@mail.gmail.com>
References: <CAF-3MvOnTxqwdiaZDo9CSKT4026asHrta=9Av-7DBJdT35VcNw@mail.gmail.com>

On Thu, Jan 11, 2018 at 04:40:30PM +0100, Alban Hertroys wrote:
> What is a good approach here?

By having a some point an origin and target table in the same cluster,
you would just need to define things properly. I have not checked, but
perhaps this is the kind of use cases where pg_partman
(https://github.com/keithf4/pg_partman/) can become handy? Perhaps
Keith, who maintains the tool, has some insight on the matter.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (4+ messages)  latest in thread

Message-ID: <20180112014008.GC2222@paquier.xyz>
Permalink:  ../20180112014008.GC2222@paquier.xyz/
Also on:    postgresql.org/message-id/20180112014008.GC2222@paquier.xyz

 · 

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-general@postgresql.org
  Cc: michael.paquier@gmail.com, haramrae@gmail.com
  Subject: Re: Updating a pre-10 partitioned table to use PG 10 partitioning
  In-Reply-To: <20180112014008.GC2222@paquier.xyz>
  References: <CAF-3MvOnTxqwdiaZDo9CSKT4026asHrta=9Av-7DBJdT35VcNw@mail.gmail.com> <20180112014008.GC2222@paquier.xyz>

* 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