BUG #19342: ERROR: function gcd(smallint, smallint) is not unique

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: dqetool(at)126(dot)com
Subject: BUG #19342: ERROR: function gcd(smallint, smallint) is not unique
Date: 2025-12-02 13:02:53
Message-ID: 19342-681ac9029b8d24b5@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 19342
Logged by: Jason Smith
Email address: dqetool(at)126(dot)com
PostgreSQL version: 18.0
Operating system: Ubuntu 22.04
Description:

Run the following statements, where the error may be not expected.
```sql
CREATE TABLE t1 (c1 SMALLINT);
SELECT (gcd(c1, c1)) FROM t1; -- ERROR: function gcd(smallint, smallint) is
not unique
```

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Gustafsson 2025-12-02 13:36:27 Re: BUG #19342: ERROR: function gcd(smallint, smallint) is not unique
Previous Message Laurenz Albe 2025-12-02 11:30:16 Re: BUG #19340: Wrong result from CORR() function