The proposed patch renames trim_array() to array_trim().
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных