Re: patch: bytea_agg

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: patch: bytea_agg
Дата
Msg-id 1324690951-sup-3979@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: patch: bytea_agg  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Excerpts from Pavel Stehule's message of vie dic 23 18:36:11 -0300 2011:
> Hello
>
> 2011/12/23 Tom Lane <tgl@sss.pgh.pa.us>:

> > I generally agree with Peter: string_agg makes sense here.  The only
> > real argument against it is Pavel's point that he didn't include a
> > delimiter parameter, but that just begs the question why not.  It
> > seems at least plausible that there would be use-cases for it.
>
> I don't know a real usage for bytea delimiter. Probably there is, but
> I expect so most often use case will be without delimiter.

Well, sometimes bytea is used to store character strings when the
encoding information is to be handled by the app instead of having
Postgres know it, for various reasons.  I haven't seen any of those
cases yet that would use string_add(bytea) but I wouldn't foreclose that
possibility.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Representation of index clause lists
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Representation of index clause lists