Re: bytea type

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Franck Martin <Franck(at)sopac(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: bytea type
Date: 2000-10-16 14:30:50
Message-ID: 200010161430.KAA03393@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

  • bytea type at 2000-10-16 05:24:25 from Franck Martin

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2000-10-16 14:44:14 Re: pgsql-committers list definitely wedged
Previous Message The Hermit Hacker 2000-10-16 13:08:50 Re: AW: Backup, restore & pg_dump