mirror of
https://github.com/postgres/postgres.git
synced 2026-05-19 08:41:23 -04:00
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:
parent
c210647aeb
commit
a0302eac78
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue