Thread: pgsql: Add is_create parameter to RefreshMatviewByOid().

pgsql: Add is_create parameter to RefreshMatviewByOid().

From
Jeff Davis
Date:
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(-)