model-writtenrun 2883 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Aleksander Alekseev proposed array_reverse() in #1, reversing only the first dimension to match array_shuffle(); Joel Jacobson welcomed the feature in #3.
- Ashutosh Bapat identified a redundant empty-array check and questioned whether unchanged input needed copying in #2; Tom Lane explained in #4 that existing array functions already return unchanged inputs without copying.
- Aleksander removed the redundant check in #5 while retaining the separate implementation, explaining that sharing code with array_shuffle() could introduce unnecessary complications.
- Vladlen Popolitov reported passing regression tests and recommended committer review in #6, while suggesting clearer documentation about returning a reversed array; his repeated review in #8 retained that positive assessment despite contradictory failure flags.
- Michael Paquier endorsed keeping the small amount of duplicated code and the array_reverse_n() helper in #7, citing consistency and possible future reuse for reversing array subsets.
- Michael committed #5 as 49d6c7d8da with a catalog-version bump and newline cleanup, then confirmed application in #9; the proposed feature was fully landed.