Re: Remove unlogged materialized view persistence handling - Mailing list pgsql-hackers

From Yugo Nagata
Subject Re: Remove unlogged materialized view persistence handling
Date
Msg-id 20241011122713.ae6b9fa0b4574c65d8bd08d7@sraoss.co.jp
Whole thread Raw
Responses Re: Remove unlogged materialized view persistence handling
List pgsql-hackers
On Fri, 11 Oct 2024 10:35:17 +0800
px shi <spxlyy123@gmail.com> wrote:

> Hi,
> 
> Since materialized views do not support the unlogged type, I think that we
> should remove the logic and handling related to unlogged. Therefore, I have
> submitted a patch.

+1

Materialized view is introduced by 3bf3ab8c563 and at that UNLOGGED was
allowed, and it is disallowed by another commit 3223b25ff73. However,
it seems that the tab-complement is missed to fixed.

The Assert for RELKIND_MATVIEW in heapam_hander.c was introduced in d25f519107b
after that, but I think it can be also removed.

Regards,
Yugo Nagata

-- 
Yugo Nagata <nagata@sraoss.co.jp>



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Doc: typo in config.sgml
Next
From: Yugo NAGATA
Date:
Subject: Re: Doc: typo in config.sgml