Re: convert int to bytea - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: convert int to bytea
Date
Msg-id 87lk8hktm6.fsf@oxford.xeocode.com
Whole thread Raw
In response to convert int to bytea  (ohp@pyrenet.fr)
Responses Re: convert int to bytea  (ohp@pyrenet.fr)
List pgsql-hackers
<ohp@pyrenet.fr> writes:

> select 124::bytea doesn't work
>
> Is there an other way? (preferabily simple :)

This kind of question would be more appropriate on pgsql-general.

What do you want the resulting bytea to look like?

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com Get trained by Bruce Momjian - ask me about
EnterpriseDB'sPostgreSQL training!
 


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [PATCHES] Re: [GENERAL] plperl and regexps with accented characters - incompatible?
Next
From: ohp@pyrenet.fr
Date:
Subject: Re: convert int to bytea