pgsql: Add is_create parameter to RefreshMatviewByOid(). - Mailing list pgsql-committers

From Jeff Davis
Subject pgsql: Add is_create parameter to RefreshMatviewByOid().
Date
Msg-id E1sZJ7h-0026UA-Ex@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Jeff Davis
Date:
Subject: pgsql: Remove unused ParamListInfo argument from ExecRefreshMatView.
Next
From: Tom Lane
Date:
Subject: pgsql: Revert "Allow parallel workers to cope with a newly-created sess