From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: dqetool@126.com
Subject: BUG #19342: ERROR: function gcd(smallint, smallint) is not unique
Date: Tue, 02 Dec 2025 13:02:53 +0000
Message-ID: <19342-681ac9029b8d24b5@postgresql.org> (raw)
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
```
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, dqetool@126.com
Subject: Re: BUG #19342: ERROR: function gcd(smallint, smallint) is not unique
In-Reply-To: <19342-681ac9029b8d24b5@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox