Re: CREATE OR REPLACE MATERIALIZED VIEW

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Erik Wienhold <ewie(at)ewie(dot)name>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CREATE OR REPLACE MATERIALIZED VIEW
Date: 2024-07-02 12:27:27
Message-ID: FD0EB80A-D77C-4F28-8AC3-165014AE17A9@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 2 Jul 2024, at 03:22, Erik Wienhold <ewie(at)ewie(dot)name> wrote:

> Patch 0002 deprecates CREATE MATERIALIZED VIEW IF NOT EXISTS because it
> no longer seems necessary with patch 0001. Tom Lane commented[1] about
> the general dislike of IF NOT EXISTS, to which I agree, but maybe this
> was meant only in response to adding new commands. Anyway, my idea is
> to deprecate that usage in PG18 and eventually remove it in PG19, if
> there's consensus for it.

Considering the runway we typically give for deprecations, that seems like a
fairly short timeframe for a SQL level command which isn't unlikely to exist
in application code.

--
Daniel Gustafsson

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2024-07-02 12:38:41 Re: Doc Rework: Section 9.16.13 SQL/JSON Query Functions
Previous Message Amit Kapila 2024-07-02 12:24:07 Re: speed up a logical replica setup