pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathandbossart@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Partitioned tables and [un]loggedness
Date: Mon, 2 Sep 2024 20:35:15 -0500
Message-ID: <ZtZn0-JVQuBUbpWw@nathan> (raw)
In-Reply-To: <ZtZW4gEJOPmeP-nT@paquier.xyz>
References: <20240424202640.GB861150@nathanxps13>
	<CAKFQuwY3RTTrp7x4OmEruMmOghdorhq4=eC0ZfG0NM+HnBWFsw@mail.gmail.com>
	<ZimXRKOSHMjQjAy3@paquier.xyz>
	<CAKFQuwZwMOkw-7112u1-gXEhRWuXiZe9otp801Z3dPVvarKdsA@mail.gmail.com>
	<Zimb7xfc79Har77d@paquier.xyz>
	<ZjMte53zQpZNfTWv@paquier.xyz>
	<Zs4-xnNDMEdiKQXo@nathan>
	<ZtAY3ZkRVAIp3sxG@paquier.xyz>
	<ZtCKiJZaoYBHBv05@nathan>
	<ZtZW4gEJOPmeP-nT@paquier.xyz>

On Tue, Sep 03, 2024 at 09:22:58AM +0900, Michael Paquier wrote:
> On Thu, Aug 29, 2024 at 09:49:44AM -0500, Nathan Bossart wrote:
>> IMHO continuing to allow partitioned tables to be marked UNLOGGED just
>> preserves the illusion that it does something.  An ERROR could help dispel
>> that misconception.
> 
> Okay.  This is going to be disruptive if we do nothing about pg_dump,
> unfortunately.  How about tweaking dumpTableSchema() so as we'd never
> issue UNLOGGED for a partitioned table?  We could filter that out as
> there is tbinfo->relkind.

That's roughly what I had in mind.

-- 
nathan





view thread (37+ messages)  latest in thread

Message-ID: <ZtZn0-JVQuBUbpWw@nathan>
Permalink:  ../ZtZn0-JVQuBUbpWw@nathan/
Also on:    postgresql.org/message-id/ZtZn0-JVQuBUbpWw@nathan

 · 

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-hackers@postgresql.org
  Cc: nathandbossart@gmail.com, michael@paquier.xyz, david.g.johnston@gmail.com
  Subject: Re: Partitioned tables and [un]loggedness
  In-Reply-To: <ZtZn0-JVQuBUbpWw@nathan>
  References: <20240424202640.GB861150@nathanxps13> <CAKFQuwY3RTTrp7x4OmEruMmOghdorhq4=eC0ZfG0NM+HnBWFsw@mail.gmail.com> <ZimXRKOSHMjQjAy3@paquier.xyz> <CAKFQuwZwMOkw-7112u1-gXEhRWuXiZe9otp801Z3dPVvarKdsA@mail.gmail.com> <Zimb7xfc79Har77d@paquier.xyz> <ZjMte53zQpZNfTWv@paquier.xyz> <Zs4-xnNDMEdiKQXo@nathan> <ZtAY3ZkRVAIp3sxG@paquier.xyz> <ZtCKiJZaoYBHBv05@nathan> <ZtZW4gEJOPmeP-nT@paquier.xyz> <ZtZn0-JVQuBUbpWw@nathan>

* 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