diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2021-02-24 07:00:49 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2021-02-24 07:00:49 +0100 |
commit | 8ec8fe0f31712c62b761da9ef6d32214e08340d1 (patch) | |
tree | d44ca28cd865d5c5c57b551675d86af428c2588a /src/backend/partitioning/partbounds.c | |
parent | c82d59d64e127a5e743f9cf16537f4c7c120ce7b (diff) |
Message style fix
Don't quote type name placeholders.
Diffstat (limited to 'src/backend/partitioning/partbounds.c')
-rw-r--r-- | src/backend/partitioning/partbounds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/partitioning/partbounds.c b/src/backend/partitioning/partbounds.c index 398a83f74cd..e5f3482d52e 100644 --- a/src/backend/partitioning/partbounds.c +++ b/src/backend/partitioning/partbounds.c @@ -4755,7 +4755,7 @@ satisfies_hash_partition(PG_FUNCTION_ARGS) if (argtype != key->parttypid[j] && !IsBinaryCoercible(argtype, key->parttypid[j])) ereport(ERROR, (errcode(ERRCODE_INVALID_PARAMETER_VALUE), - errmsg("column %d of the partition key has type \"%s\", but supplied value is of type \"%s\"", + errmsg("column %d of the partition key has type %s, but supplied value is of type %s", j + 1, format_type_be(key->parttypid[j]), format_type_be(argtype)))); fmgr_info_copy(&my_extra->partsupfunc[j], |