Re: Inconsistency with EXPLAIN ANALYZE CREATE MATERIALIZED VIEW - Mailing list pgsql-hackers

From Kirill Reshke
Subject Re: Inconsistency with EXPLAIN ANALYZE CREATE MATERIALIZED VIEW
Date
Msg-id CALdSSPhH+Abytg972WXy3tt2=OT3rrLo-fNHERnEG=8m-D=9tw@mail.gmail.com
Whole thread Raw
In response to Inconsistency with EXPLAIN ANALYZE CREATE MATERIALIZED VIEW  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: Inconsistency with EXPLAIN ANALYZE CREATE MATERIALIZED VIEW
List pgsql-hackers
On Thu, 1 Aug 2024 at 23:27, Jeff Davis <pgsql@j-davis.com> wrote:
>
> EXPLAIN ANALYZE CREATE MATERIALIZED VIEW doesn't go through
> ExecCreateTableAs(), but does use CreateIntoRelDestReceiver().

EXPLAIN ANALYZE and regular query goes through create_ctas_internal
(WITH NO DATA case too). Maybe we can simply move
SetUserIdAndSecContext call in this function?



pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: Asymmetric partition-wise JOIN
Next
From: "Daniel Verite"
Date:
Subject: Re: Support LIKE with nondeterministic collations