aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/varlena.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-02-05 08:04:48 -0500
committerRobert Haas <rhaas@postgresql.org>2016-02-05 08:04:48 -0500
commit63f39b9148319c2e399dd827941b4d579b79f18b (patch)
treefd2f083b7b269c0cee498183c1bfc8c275de9430 /src/backend/utils/adt/varlena.c
parent78bea62ab0b16a0c7aaa1e460064c32f9f35041d (diff)
downloadpostgresql-63f39b9148319c2e399dd827941b4d579b79f18b.tar.gz
postgresql-63f39b9148319c2e399dd827941b4d579b79f18b.zip
Fix small goof in comment.
Peter Geoghegan
Diffstat (limited to 'src/backend/utils/adt/varlena.c')
-rw-r--r--src/backend/utils/adt/varlena.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/adt/varlena.c b/src/backend/utils/adt/varlena.c
index 1a74e5e93c8..5e7536a6990 100644
--- a/src/backend/utils/adt/varlena.c
+++ b/src/backend/utils/adt/varlena.c
@@ -2154,7 +2154,7 @@ varstr_abbrev_convert(Datum original, SortSupport ssup)
len = bpchartruelen(authoritative_data, len);
/*
- * If we're using the C collation, use memcmp(), rather than strxfrm(), to
+ * If we're using the C collation, use memcpy(), rather than strxfrm(), to
* abbreviate keys. The full comparator for the C locale is always
* memcmp(). It would be incorrect to allow bytea callers (callers that
* always force the C collation -- bytea isn't a collatable type, but this