Re: Partitioned tables and [un]loggedness
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: "David G. Johnston" <david.g.johnston@gmail.com>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-09-03T01:35:15Z
Lists: pgsql-hackers
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
Commits
-
psql: Remove PARTITION BY clause in tab completion for unlogged tables
- 361499538c9d 18.0 landed
-
Remove support for unlogged on partitioned tables
- e2bab2d79204 18.0 landed
-
Remove ATT_TABLE for ALTER TABLE ... ATTACH/DETACH
- bbba59e69a56 18.0 landed
-
Introduce ATT_PARTITIONED_TABLE in tablecmds.c
- d69a3f4d70b7 18.0 landed
-
Refactor some code for ALTER TABLE SET LOGGED/UNLOGGED in tablecmds.c
- 9f87da1cffda 18.0 landed
-
Remove tab completion for CREATE UNLOGGED MATERIALIZED VIEW.
- 5c1ce1bbbe5f 18.0 cited