Re: bytea type - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: bytea type
Date
Msg-id 200010161430.KAA03393@candle.pha.pa.us
Whole thread Raw
In response to bytea type  (Franck Martin <Franck@sopac.org>)
List pgsql-hackers
[ Charset ISO-8859-1 unsupported, converting... ]
> I found bytea doing a \dT in psql, but I do not find any documentation on
> it.
> 
> Could I have some source code implementation of bytea with examples ?

Yes, it is like text, but you can put in binary data as 'a\\000b' puts
a, null, b.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: AW: Backup, restore & pg_dump
Next
From: "Marc G. Fournier"
Date:
Subject: Re: pgsql-committers list definitely wedged