summaryrefslogtreecommitdiff
path: root/src/backend/partitioning
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-05-07 17:47:22 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-05-07 17:53:34 +0200
commit9f989a8581cc37879d493a5a78b0f01ec0e3245a (patch)
tree275f5601c7c753b2296d7054f9481b98acc05653 /src/backend/partitioning
parent4e8c0f1a0d0d095a749a329a216c88a340a455b6 (diff)
downloadpostgresql-9f989a8581cc37879d493a5a78b0f01ec0e3245a.tar.gz
Fix typo
Diffstat (limited to 'src/backend/partitioning')
-rw-r--r--src/backend/partitioning/partbounds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/partitioning/partbounds.c b/src/backend/partitioning/partbounds.c
index c9c789297d..d3dedfd784 100644
--- a/src/backend/partitioning/partbounds.c
+++ b/src/backend/partitioning/partbounds.c
@@ -2899,7 +2899,7 @@ check_new_partition_bound(char *relname, Relation parent,
ereport(ERROR,
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
errmsg("every hash partition modulus must be a factor of the next larger modulus"),
- errdetail("The new modulus %d is not factor of %d, the modulus of existing partition \"%s\".",
+ errdetail("The new modulus %d is not a factor of %d, the modulus of existing partition \"%s\".",
spec->modulus, next_modulus,
get_rel_name(partdesc->oids[boundinfo->indexes[offset + 1]]))));
}