citusdata / citusdata/postgresql-hll
hll_hash_any() causes crash
- Dominant language
- C
- Stars
- 1.2k
- Forks
- 115
- PR merge metrics
- No merged PRs in 30d
Description
SQL crashes the database:
```
SELECT hll_hash_any(cash_out(0::money));
```
Crash Example
```
psql (15devel, server 15.2)
SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)
postgres15@postgres=> SELECT hll_hash_any(cash_out(0::money));
SSL SYSCALL error: EOF detected
The connection to the server was lost. Attempting reset: Failed.
@!>? \q
```
HLL v2.16
```
postgres15@postgres=> \dx hll
List of installed extensions
Name | Version | Schema | Description
------+---------+--------+-----------------------------------
hll | 2.16 | public | type for storing hyperloglog data
(1 row)
```
Thanks to SQLSmith / SQLReduce for helping with the find.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.