Re: how do i store \0 inside a text attribute? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: how do i store \0 inside a text attribute?
Date
Msg-id 200101020345.WAA06118@candle.pha.pa.us
Whole thread Raw
In response to Re: how do i store \0 inside a text attribute?  (Paul A Vixie <vixie@mfnx.net>)
List pgsql-hackers
> > See bytea, though its presentation format leaves something to be desired IMHO
> > 
> > > how would someone be expected to store, say, a GIF image in a TOAST text?
> > 
> > One would not.  A TOASTed bytea is the appropriate column type.
> 
> thanks -- that's EXACTLY what i needed.
> 

bytea was not really used very much until people started asking to do
this kind of think.

--  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: Bruce Momjian
Date:
Subject: Re: GNU readline and BSD license
Next
From: Bruce Momjian
Date:
Subject: Re: PHP and PostgreSQL