Skip to content

Commit 63f39b9

Browse files
committed
Fix small goof in comment.
Peter Geoghegan
1 parent 78bea62 commit 63f39b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/adt/varlena.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2154,7 +2154,7 @@ varstr_abbrev_convert(Datum original, SortSupport ssup)
21542154
len = bpchartruelen(authoritative_data, len);
21552155

21562156
/*
2157-
* If we're using the C collation, use memcmp(), rather than strxfrm(), to
2157+
* If we're using the C collation, use memcpy(), rather than strxfrm(), to
21582158
* abbreviate keys. The full comparator for the C locale is always
21592159
* memcmp(). It would be incorrect to allow bytea callers (callers that
21602160
* always force the C collation -- bytea isn't a collatable type, but this

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy