diff options
Diffstat (limited to 'src/backend')
| -rw-r--r-- | src/backend/commands/matview.c | 4 | ||||
| -rw-r--r-- | src/backend/postmaster/checkpointer.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/commands/matview.c b/src/backend/commands/matview.c index ef7c0d624f1..a5c579ce112 100644 --- a/src/backend/commands/matview.c +++ b/src/backend/commands/matview.c @@ -210,8 +210,8 @@ RefreshMatViewByOid(Oid matviewOid, bool is_create, bool skipData, if (concurrent && skipData) ereport(ERROR, (errcode(ERRCODE_SYNTAX_ERROR), - errmsg("%s and %s options cannot be used together", - "CONCURRENTLY", "WITH NO DATA"))); + errmsg("%s options %s and %s cannot be used together", + "REFRESH", "CONCURRENTLY", "WITH NO DATA"))); /* * Check that everything is correct for a refresh. Problems at this point diff --git a/src/backend/postmaster/checkpointer.c b/src/backend/postmaster/checkpointer.c index fa4d7438442..afb3d6d8630 100644 --- a/src/backend/postmaster/checkpointer.c +++ b/src/backend/postmaster/checkpointer.c @@ -1019,7 +1019,8 @@ ExecCheckpoint(ParseState *pstate, CheckPointStmt *stmt) else if (strcmp(mode, "fast") != 0) ereport(ERROR, (errcode(ERRCODE_SYNTAX_ERROR), - errmsg("unrecognized MODE option \"%s\"", mode), + errmsg("unrecognized value for %s option \"%s\": \"%s\"", + "CHECKPOINT", "mode", mode), parser_errposition(pstate, opt->location))); } else if (strcmp(opt->defname, "flush_unlogged") == 0) |
