pgsql: Add is_create parameter to RefreshMatviewByOid().

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add is_create parameter to RefreshMatviewByOid().
Date: 2024-07-31 23:52:49
Message-ID: E1sZJ7h-0026UA-Ex@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add is_create parameter to RefreshMatviewByOid().

RefreshMatviewByOid is used for both REFRESH and CREATE MATERIALIZED
VIEW. This flag is currently just used for handling internal error
messages, but also aimed to improve code-readability.

Author: Yugo Nagata
Discussion: https://postgr.es/m/20240726122630.70e889f63a4d7e26f8549de8@sraoss.co.jp

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ca2eea3ac89a4ea16ab069cb681510d05de5285f

Modified Files
--------------
src/backend/commands/createas.c | 5 +----
src/backend/commands/matview.c | 42 +++++++++++++++++++++++++++++------------
src/include/commands/matview.h | 5 +++--
3 files changed, 34 insertions(+), 18 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-08-01 00:57:14 pgsql: Revert "Allow parallel workers to cope with a newly-created sess
Previous Message Jeff Davis 2024-07-31 23:38:05 pgsql: Remove unused ParamListInfo argument from ExecRefreshMatView.