Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Binary bytea to...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 15305 of 17602
Post > Topic >>

Binary bytea to literal strings

by zubac@[EMAIL PROTECTED] (Dragan Zubac) Apr 17, 2008 at 04:57 AM

Hello

Got one table:

 Column  |  Type   |                   Modifiers                  
---------+---------+-----------------------------------------------
 message | bytea   |

insert data like for example:

insert into zub (message) values (E'\004\065 Ciao');

is it possible to somehow get the following:

0x040x35 Ciao

Sincerely

Dragan

-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 2 Posts in Topic:
Binary bytea to literal strings
zubac@[EMAIL PROTECTED]   2008-04-17 04:57:12 
Re: Binary bytea to literal strings
craig@[EMAIL PROTECTED]   2008-04-17 12:24:21 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 19:43:02 CST 2008.