Re: How to convert HEX to ASCII?

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: How to convert HEX to ASCII?
Дата
Msg-id CAFj8pRBZNNo9oxHwxD8+JoRNfrN2fGec0So7jJoK-3BozFEvUQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to convert HEX to ASCII?  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-general
2011/12/2 Merlin Moncure <mmoncure@gmail.com>:
> On Fri, Dec 2, 2011 at 2:01 PM, Pavel Stehule <pavel.stehule@gmail.com> 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.

ook

Pavel

>
> merlin

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: How to convert HEX to ASCII?
Следующее
От: "David Johnston"
Дата:
Сообщение: Re: Oddball data distribution giving me planner headaches