Remove unused ByteaSortSupport.abbreviate field

Oversight in commit 9303d62c6.

Author: Aleksander Alekseev <aleksander@tigerdata.com>
Discussion: https://postgr.es/m/CAJ7c6TOsKmmgyA6EwxKVsNeHFHrWXYdgZivgjo_ujf890BpeeA@mail.gmail.com
This commit is contained in:
John Naylor 2026-04-29 13:57:07 +07:00
parent c210647aeb
commit a0302eac78

View file

@ -41,7 +41,6 @@ static bytea *bytea_overlay(bytea *t1, bytea *t2, int sp, int sl);
typedef struct
{
bool abbreviate; /* Should we abbreviate keys? */
hyperLogLogState abbr_card; /* Abbreviated key cardinality state */
hyperLogLogState full_card; /* Full key cardinality state */
double prop_card; /* Required cardinality proportion */
@ -1229,7 +1228,6 @@ bytea_sortsupport(PG_FUNCTION_ARGS)
ByteaSortSupport *bss;
bss = palloc_object(ByteaSortSupport);
bss->abbreviate = true;
bss->prop_card = 0.20;
initHyperLogLog(&bss->abbr_card, 10);
initHyperLogLog(&bss->full_card, 10);