Re: Materialized view rewrite is broken when there is an event trigger

Önder Kalacı <onderkalaci@gmail.com>

From: Önder Kalacı <onderkalaci@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-08-09T14:29:37Z
Lists: pgsql-hackers

Attachments

Hi,

I should be able to grab a little bit of time next week to look at
> what you have.
>

Thanks!


>
> Please note that we should not add an event in create_am.sql even if
> it is empty, as it gets run in parallel of other tests so there could
> be interferences.  I think that this had better live in
> sql/event_trigger.sql, even if it requires an extra table AM to check
> this specific case.
> --
>


Moved the test to event_trigger.sql.

> parallel group (2 tests, in groups of 1):  event_trigger oidjoins

Though, it also seems to run in parallel, but I assume the parallel test
already works fine with concurrent event triggers?

Thanks,
Onder

Commits

  1. Allow event trigger table_rewrite for ALTER MATERIALIZED VIEW