pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Dmitry Shalashov <skaurus@gmail.com>
Cc: Langote_Amit_f8@lab.ntt.co.jp, Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15437: Segfault during insert into declarative partitioned table with a trigger creating partition
Date: Mon, 29 Oct 2018 11:44:59 +0900
Message-ID: <20181029024459.GD14242@paquier.xyz> (raw)
In-Reply-To: <CAKPeCUGE2VJD3Z7j7gTAZuEWW=z0hff-WNcwNNt=2KFt8ma+aw@mail.gmail.com>
References: <15437-3fe01ee66bd1bae1@postgresql.org>
	<e8079b1f-3e41-d1dc-1575-ff3cce7d76ac@lab.ntt.co.jp>
	<8213.1539917571@sss.pgh.pa.us>
	<ddc70376-9ddb-8637-eb69-aa7ae6f13378@lab.ntt.co.jp>
	<CAKPeCUGE2VJD3Z7j7gTAZuEWW=z0hff-WNcwNNt=2KFt8ma+aw@mail.gmail.com>

On Fri, Oct 19, 2018 at 12:38:09PM +0300, Dmitry Shalashov wrote:
> That may be off-topic here, but I feel that *some* way of auto-creating
> partitions would be useful though.  Maybe all partitioning setup could
> boil down to one table declaration, with auto-created partitions of
> the same structure, including indices and stuff.

Some patches have been proposed for this purpose during v11 development
timeline if I recall correctly, but they did not cross the finish line.
You could also look at something like pg_partman:
https://github.com/pgpartman/pg_partman
--
Michael

Attachments:

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

view thread (22+ messages)  latest in thread

Message-ID: <20181029024459.GD14242@paquier.xyz>
Permalink:  ../20181029024459.GD14242@paquier.xyz/
Also on:    postgresql.org/message-id/20181029024459.GD14242@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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: michael@paquier.xyz, skaurus@gmail.com, tgl@sss.pgh.pa.us, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #15437: Segfault during insert into declarative partitioned table with a trigger creating partition
  In-Reply-To: <20181029024459.GD14242@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