mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
Message style fixes
This commit is contained in:
@ -425,13 +425,13 @@ DefineQueryRewrite(char *rulename,
|
||||
if (event_relation->rd_rel->relkind == RELKIND_PARTITIONED_TABLE)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
|
||||
errmsg("could not convert partitioned table \"%s\" to a view",
|
||||
errmsg("cannot convert partitioned table \"%s\" to a view",
|
||||
RelationGetRelationName(event_relation))));
|
||||
|
||||
if (event_relation->rd_rel->relispartition)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
|
||||
errmsg("could not convert partition \"%s\" to a view",
|
||||
errmsg("cannot convert partition \"%s\" to a view",
|
||||
RelationGetRelationName(event_relation))));
|
||||
|
||||
snapshot = RegisterSnapshot(GetLatestSnapshot());
|
||||
|
Reference in New Issue
Block a user