aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-07-20 09:50:12 +0900
committerMichael Paquier <michael@paquier.xyz>2022-07-20 09:50:12 +0900
commit12c254c99f6c6f0bbfc7997ee10ea73fee30dea2 (patch)
tree8fef3ccd28d896897f1298c9cad604b580cd1035 /src/backend/commands
parentecc84b916f8f36924e2b3de358045edfc3205e5a (diff)
downloadpostgresql-12c254c99f6c6f0bbfc7997ee10ea73fee30dea2.tar.gz
postgresql-12c254c99f6c6f0bbfc7997ee10ea73fee30dea2.zip
Tweak detail and hint messages to be consistent with project policy
Detail and hint messages should be full sentences and should end with a period, but some of the messages newly-introduced in v15 did not follow that. Author: Justin Pryzby Reviewed-by: Álvaro Herrera Discussion: https://postgr.es/m/20220719120948.GF12702@telsasoft.com Backpatch-through: 15
Diffstat (limited to 'src/backend/commands')
-rw-r--r--src/backend/commands/publicationcmds.c2
-rw-r--r--src/backend/commands/tablecmds.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/publicationcmds.c b/src/backend/commands/publicationcmds.c
index 8e645741e4e..89a005540f6 100644
--- a/src/backend/commands/publicationcmds.c
+++ b/src/backend/commands/publicationcmds.c
@@ -743,7 +743,7 @@ CheckPubRelationColumnList(List *tables, const char *queryString,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("cannot use publication column list for relation \"%s\"",
RelationGetRelationName(pri->relation)),
- errdetail("column list cannot be used for a partitioned table when %s is false.",
+ errdetail("Column list cannot be used for a partitioned table when %s is false.",
"publish_via_partition_root")));
}
}
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c
index a2f577024a1..7fbee0c1f71 100644
--- a/src/backend/commands/tablecmds.c
+++ b/src/backend/commands/tablecmds.c
@@ -17790,7 +17790,7 @@ ATExecAttachPartition(List **wqueue, Relation rel, PartitionCmd *cmd,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("trigger \"%s\" prevents table \"%s\" from becoming a partition",
trigger_name, RelationGetRelationName(attachrel)),
- errdetail("ROW triggers with transition tables are not supported on partitions")));
+ errdetail("ROW triggers with transition tables are not supported on partitions.")));
/*
* Check that the new partition's bound is valid and does not overlap any