Skip to content

hll_hash_any() causes crash #145

Open
@robins

Description

@robins

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions