Re: BUG #18000: Access method used by matview can be dropped leaving broken matview
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2023-06-27T06:33:30Z
Lists: pgsql-bugs
Attachments
- v2-0001-Fix-dependencies-under-ALTER-TABLE-SET-ACCESS-MET.patch (text/x-diff) patch v2-0001
On Tue, Jun 27, 2023 at 01:50:15PM +0900, Michael Paquier wrote: > Attached is a patch to take care of the issue, with regression tests > looking at pg_depend to make sure that the correct entries are > created or removed. A diff got eaten in this process (see pgstat_progress_update_param, not sure what happened), so attached is a v2 to correct the shot. Sorry for the extra noise. -- Michael
Commits
-
Fix pg_depend entry to AMs after ALTER TABLE .. SET ACCESS METHOD
- 93401ec02f40 15.4 landed
- 97d89101045f 16.0 landed