Re: BUG #15954: Unable to alter partitioned table to set logged

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
Cc: Amit Langote <amitlangote09(at)gmail(dot)com>, ejberdecia(at)yahoo(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #15954: Unable to alter partitioned table to set logged
Date: 2019-08-14 02:48:22
Message-ID: 20190814024822.GC14446@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Aug 14, 2019 at 01:57:26PM +1200, David Rowley wrote:
> I'd say it's broken in a sense that we can create an unlogged
> partitioned table in the first place. I think that should have been
> blocked.

I don't think that it is that crazy to be able to define a partitioned
table as unlogged, assuming that we could use that to make the
children inherit the same state. We don't allow a mix of temporary
tables and permanent tables as temp table's state does not persist
after the session ends leading to a mess with dependency handling for
the partition tree, but we cannot have that problem with unlogged
tables.
--
Michael

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Efrain J. Berdecia 2019-08-14 02:51:27 Re: BUG #15954: Unable to alter partitioned table to set log
Previous Message David Rowley 2019-08-14 01:57:26 Re: BUG #15954: Unable to alter partitioned table to set logged