Re: [PATCH] Rename trim_array() for consistency with the rest of array_* functions

Поиск
Список
Период
Сортировка
От Aleksander Alekseev
Тема Re: [PATCH] Rename trim_array() for consistency with the rest of array_* functions
Дата
Msg-id CAJ7c6TNiWTTj7yXAwu0Jwtv21i9JMsyijp4LAkafzVbix+jGwg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Rename trim_array() for consistency with the rest of array_* functions  (Vik Fearing <vik@postgresfriends.org>)
Список pgsql-hackers
Hi Vik,

> While unfortunately named, we cannot deprecate TRIM_ARRAY() because it
> is mandated by the standard.

I didn't know that, thanks.

Still PostgreSQL doesn't follow the standard precisely in more than
one respect. Perhaps we should add array_trim() and keep both? Or
(less likely) remove trim_array() and document this deviation from the
standard? Or at least document why it's named this way.

What do you think?

-- 
Best regards,
Aleksander Alekseev



В списке pgsql-hackers по дате отправления: