diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-09-11 11:20:47 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-09-11 11:21:27 -0400 |
commit | 821fb8cdbf700a8aadbe12d5b46ca4e61be5a8a8 (patch) | |
tree | 4f168da823a903d3d246f0141036618cc21f725c /src/backend/executor/execReplication.c | |
parent | 3c435952176ae5d294b37e5963cd72ddb66edead (diff) | |
download | postgresql-821fb8cdbf700a8aadbe12d5b46ca4e61be5a8a8.tar.gz postgresql-821fb8cdbf700a8aadbe12d5b46ca4e61be5a8a8.zip |
Message style fixes
Diffstat (limited to 'src/backend/executor/execReplication.c')
-rw-r--r-- | src/backend/executor/execReplication.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/execReplication.c b/src/backend/executor/execReplication.c index fbb81085124..5a75e0211fd 100644 --- a/src/backend/executor/execReplication.c +++ b/src/backend/executor/execReplication.c @@ -559,13 +559,13 @@ CheckCmdReplicaIdentity(Relation rel, CmdType cmd) if (cmd == CMD_UPDATE && pubactions->pubupdate) ereport(ERROR, (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE), - errmsg("cannot update table \"%s\" because it does not have replica identity and publishes updates", + errmsg("cannot update table \"%s\" because it does not have a replica identity and publishes updates", RelationGetRelationName(rel)), errhint("To enable updating the table, set REPLICA IDENTITY using ALTER TABLE."))); else if (cmd == CMD_DELETE && pubactions->pubdelete) ereport(ERROR, (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE), - errmsg("cannot delete from table \"%s\" because it does not have replica identity and publishes deletes", + errmsg("cannot delete from table \"%s\" because it does not have a replica identity and publishes deletes", RelationGetRelationName(rel)), errhint("To enable deleting from the table, set REPLICA IDENTITY using ALTER TABLE."))); } |