Qt, PostgreSQL – Retrieving the max int64_t/uint64_t value from a NUMERIC column
Say I have a PostgreSQL database, and I store the maximum value of an int64_t or an uint64_t in a column of the NUMERIC type (I cannot use the BIGINT type as there is no unsigned variant for the uint64_t in PostgreSQL).