Thread

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

    PG Bug reporting form <noreply@postgresql.org> — 2025-12-02T13:02:53Z

    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
    ```