Re: storing binary data - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: storing binary data
Date
Msg-id Pine.LNX.4.30.0110232315080.642-100000@peter.localdomain
Whole thread Raw
In response to storing binary data  ("Jason Orendorff" <jason@jorendorff.com>)
List pgsql-hackers
Jason Orendorff writes:

> Hi.  I was surprised to discover today that postgres's
> character types don't support zero bytes.  That is,
> Postgres isn't 8-bit clean.  Why is that?

PostgreSQL is 8-bit clean.  The character types don't support zero bytes
because the character types store characters, not bytes.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] Using an SMP machine to make multiple indices on the same
Next
From: Tom Lane
Date:
Subject: Re: Can't cast bigint to smallint?