Re: How to convert HEX to ASCII?

Поиск
Список
Период
Сортировка
Искать
От
Merlin Moncure
Тема
Re: How to convert HEX to ASCII?
Дата
Msg-id
CAHyXU0znY7dd=+cTevAC=-pOPuqTgp-Cws+v3u2eqGWa9KXrKw@mail.gmail.com
Ответ на
Список
Дерево обсуждения
How to convert HEX to ASCII? Torsten Zuehlsdorff <foo@meisterderspiele.de>
Re: How to convert HEX to ASCII? Damien Churchill <damoxc@gmail.com>
Re: How to convert HEX to ASCII? Torsten Zuehlsdorff <foo@meisterderspiele.de>
Re: How to convert HEX to ASCII? Merlin Moncure <mmoncure@gmail.com>
Re: How to convert HEX to ASCII? Marti Raudsepp <marti@juffo.org>
Re: How to convert HEX to ASCII? Torsten Zühlsdorff <foo@meisterderspiele.de>
Re: How to convert HEX to ASCII? Pavel Stehule <pavel.stehule@gmail.com>
Re: How to convert HEX to ASCII? Merlin Moncure <mmoncure@gmail.com>
Re: How to convert HEX to ASCII? Pavel Stehule <pavel.stehule@gmail.com>
Re: How to convert HEX to ASCII? Merlin Moncure <mmoncure@gmail.com>
Re: How to convert HEX to ASCII? Pavel Stehule <pavel.stehule@gmail.com>
Re: How to convert HEX to ASCII? Merlin Moncure <mmoncure@gmail.com>
Re: How to convert HEX to ASCII? Pavel Stehule <pavel.stehule@gmail.com>
On Fri, Dec 2, 2011 at 2:01 PM, Pavel Stehule  wrote:
>>> so bytea_agg - one param aggregate has sense
>>>
>>> it's very easy to implement it
>>
>> yup:
>>
>> create aggregate bytea_agg (bytea)
>> (
>>  sfunc=byteacat,
>>  stype=bytea
>> );
>
> this is workaround :)
>
> without a memory preallocating it has same speed like cycle in plpgsql.

sure, but I prefer to code against the workaround because it's cleaner
and it makes things easier to port over when such a feature makes it
into core.  also, one liner sql has better chance of inlining as a
general rule.

merlin
В списке pgsql-general по дате отправления
От: Jeff Amiel
Дата:
От: Pavel Stehule
Дата:
FAQ