BUG #19342: ERROR: function gcd(smallint, smallint) is not unique - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #19342: ERROR: function gcd(smallint, smallint) is not unique
Date
Msg-id 19342-681ac9029b8d24b5@postgresql.org
Whole thread Raw
Responses Re: BUG #19342: ERROR: function gcd(smallint, smallint) is not unique
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      19342
Logged by:          Jason Smith
Email address:      dqetool@126.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
```


pgsql-bugs by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: BUG #19340: Wrong result from CORR() function
Next
From: Daniel Gustafsson
Date:
Subject: Re: BUG #19342: ERROR: function gcd(smallint, smallint) is not unique