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