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

From: Önder Kalacı <onderkalaci(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Materialized view rewrite is broken when there is an event trigger
Date: 2022-08-09 14:29:37
Message-ID: CACawEhXQDb6F-fSMSSkDcEHnmq5nbjj+Of3MWCtKpbmy=RTq2g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
v2-Allow-MATERIALIZED-VIEW-Rewrite-when-event-triggers.patch application/octet-stream 3.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-08-09 14:35:01 Re: Materialized view rewrite is broken when there is an event trigger
Previous Message Robert Haas 2022-08-09 14:23:03 Re: Temporary file access API