• Tom Lane's avatar
    Rename pgbench min/max to least/greatest, and fix handling of double args. · 7a622b27
    Tom Lane authored
    These functions behave like the backend's least/greatest functions,
    not like min/max, so the originally-chosen names invite confusion.
    Per discussion, rename to least/greatest.
    
    I also took it upon myself to make them return double if any input is
    double.  The previous behavior of silently coercing all inputs to int
    surely does not meet the principle of least astonishment.
    
    Copy-edit some of the other new functions' documentation, too.
    7a622b27
pgbench.sgml 48.8 KB