Re: [PATCH] Add min/max aggregate functions to BYTEA
Marat Bukharov <marat.buharov@gmail.com>
From: Marat Bukharov <marat.buharov@gmail.com>
To: Aleksander Alekseev <aleksander@timescale.com>
Cc: pgsql-hackers@postgresql.org
Date: 2024-07-05T19:43:56Z
Lists: pgsql-hackers
What part of commitfest should I put the current patch to: "SQL Commands", "Miscellaneous" or something else? I can't figure it out. -- With best regards, Marat Bukharov > Hi Marat, > > > V4 path with fixed usage PG_GETARG_BYTEA_PP instead of PG_GETARG_TEXT_PP > > Thanks for the patch. > > Please add it to the nearest open commitfest [1]. > > ``` > +select min(v) from bytea_test_table; > + min > +------ > + \xaa > +(1 row) > + > +select max(v) from bytea_test_table; > + max > +------ > + \xff > +(1 row) > ``` > > If I understand correctly, all the v's are of the same size. If this > is the case you should add more test cases. > > [1]: https://commitfest.postgresql.org/ > > -- > Best regards, > Aleksander Alekseev
Commits
-
Add min and max aggregates for bytea type.
- 2d24fd942c70 18.0 landed