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/[email protected] 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(-)
