Re: Improve default partition

From: Dmitry Dolgov <9erthalion6(at)gmail(dot)com>
To: Rafia Sabih <rafia(dot)pghackers(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Improve default partition
Date: 2019-08-20 17:41:19
Message-ID: CA+q6zcUff90v1MaDg8cYWD73SxrWh+xXW5JugGiKY5dtKM20Jw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Tue, Aug 20, 2019 at 4:45 PM Rafia Sabih <rafia(dot)pghackers(at)gmail(dot)com> wrote:
>
> This does not sound very convenient. I was thinking of having some
> mechanism for such insertions which automatically creates a default
> partition and gives a notice for the user to know that it is going to
> the default partition.

If I remember correctly, there is a side effect when it's impossible to create
any new partitions, that intersects with values from default partition (one has
to detach a default partition, remove rows and attach it back). That could
probably be not always a desired outcome.

Btw, there is a somewhat similar discussion in the ongoing thread [1].

[1]: https://www.postgresql.org/message-id/flat/alpine.DEB.2.21.1907150711080.22273%40lancre

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2019-08-20 17:43:27 Re: POC: Cleaning up orphaned files using undo logs
Previous Message Pavel Stehule 2019-08-20 17:01:24 Re: Global temporary tables