Re: Inconsistency with EXPLAIN ANALYZE CREATE MATERIALIZED VIEW

From: Kirill Reshke <reshkekirill(at)gmail(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Inconsistency with EXPLAIN ANALYZE CREATE MATERIALIZED VIEW
Date: 2024-08-01 19:13:18
Message-ID: CALdSSPhH+Abytg972WXy3tt2=OT3rrLo-fNHERnEG=8m-D=9tw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 1 Aug 2024 at 23:27, Jeff Davis <pgsql(at)j-davis(dot)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?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Verite 2024-08-01 19:55:55 Re: Support LIKE with nondeterministic collations
Previous Message Alexander Korotkov 2024-08-01 18:56:12 Re: Asymmetric partition-wise JOIN