mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Fix abbreviated keys bug introduced in d87d548cd0.
Discussion: http://postgr.es/m/CAMkU=1z17XJatF-rMCY3Cjqcxer-Kyn57x6h3OSCpJ0LpAp0ig@mail.gmail.com Reported-by: Jeff Janes
This commit is contained in:
@@ -2329,6 +2329,7 @@ varstr_abbrev_convert(Datum original, SortSupport ssup)
|
|||||||
|
|
||||||
bsize = pg_strxfrm_prefix(sss->buf2, sss->buf1,
|
bsize = pg_strxfrm_prefix(sss->buf2, sss->buf1,
|
||||||
max_prefix_bytes, sss->locale);
|
max_prefix_bytes, sss->locale);
|
||||||
|
sss->last_len2 = bsize;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user