Re: How to cast VARCHAR to BYTEA and vice-versa?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: How to cast VARCHAR to BYTEA and vice-versa?
Дата
Msg-id 20050309003323.GA12798@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: How to cast VARCHAR to BYTEA and vice-versa?  ("Moran.Michael" <Michael.Moran@IGT.com>)
Список pgsql-hackers
On Tue, Mar 08, 2005 at 02:16:52PM -0800, Moran.Michael wrote:

> Yes, the exact bytes in the varchar datum (without encoding) is what I would
> like to become the bytes in the BYTEA.
>  
> So, how do I create a "cast WITHOUT FUNCTION" as you mention below? I assume
> plpgsql is required, right?

Did you check the reference page for CREATE CAST already?

-- 
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"Por suerte hoy explotó el califont porque si no me habría muertode aburrido"  (Papelucho)


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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: fool-toleranced optimizer
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: How to cast VARCHAR to BYTEA and vice-versa?