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 > Re: bytea and c...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 8 Topic 15460 of 17437
Post > Topic >>

Re: bytea and character encoding when inserting escaped

by rod@[EMAIL PROTECTED] ("Raymond O'Donnell") May 7, 2008 at 01:30 PM

On 05/05/2008 16:07, Lee Feigenbaum wrote:

> INSERT INTO myTable VALUES (..., E'\x15\x1C\x2F\x00\x02...', ...) ;

As I understand it, the octets need to be entered as their octal 
representation - have a look at table 8-7 at 
http://www.postgresql.org/docs/8.3/static/datatype-binary.html.

HTH,

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@[EMAIL PROTECTED]
 Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

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




 8 Posts in Topic:
bytea and character encoding when inserting escaped literals
lee@[EMAIL PROTECTED] (L  2008-05-05 11:07:12 
Re: bytea and character encoding when inserting escaped literals
asche.public@[EMAIL PROTE  2008-05-05 17:21:16 
Re: bytea and character encoding when inserting escaped
lee@[EMAIL PROTECTED] (L  2008-05-05 11:30:29 
Re: bytea and character encoding when inserting escaped
asche.public@[EMAIL PROTE  2008-05-05 17:37:22 
Re: bytea and character encoding when inserting escaped
lee@[EMAIL PROTECTED] (L  2008-05-05 14:03:09 
Re: bytea and character encoding when inserting escaped literals
tgl@[EMAIL PROTECTED] (T  2008-05-05 15:34:20 
Re: bytea and character encoding when inserting escaped literals
aanderson@[EMAIL PROTECTE  2008-05-05 11:42:27 
Re: bytea and character encoding when inserting escaped
rod@[EMAIL PROTECTED] (&  2008-05-07 13:30:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sat Nov 22 13:13:51 CST 2008.