Add min and max aggregates for bytea type.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2d24fd942c7010247c5b7b54b416acf7f4592a4e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2024-10-08T17:52:14Z
Releases: 18.0
Add min and max aggregates for bytea type.

Similar to a0f1fce80, although we chose to duplicate logic
rather than invoke byteacmp, primarily to avoid repeat detoasting.

Marat Buharov, Aleksander Alekseev

Discussion: https://postgr.es/m/CAPCEVGXiASjodos4P8pgyV7ixfVn-ZgG9YyiRZRbVqbGmfuDyg@mail.gmail.com

Files

Documentation touched

Discussion