Fix small goof in comment.
authorRobert Haas <[email protected]>
Fri, 5 Feb 2016 13:04:48 +0000 (08:04 -0500)
committerRobert Haas <[email protected]>
Fri, 5 Feb 2016 13:04:48 +0000 (08:04 -0500)
Peter Geoghegan

src/backend/utils/adt/varlena.c

index 1a74e5e93c8cc5330d9b030ec536c056b0700c5e..5e7536a6990723069cd59bd3798b6f551f755c78 100644 (file)
@@ -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