Re: bug in working with TEXT constants ? - Mailing list pgsql-sql

From Stephan Szabo
Subject Re: bug in working with TEXT constants ?
Date
Msg-id 20031028070734.P60098@megazone.bigpanda.com
Whole thread Raw
In response to bug in working with TEXT constants ?  (sad <sad@bankir.ru>)
List pgsql-sql
On Tue, 28 Oct 2003, sad wrote:

> Good day.
>
> AFAIK PostgreSQL provides the type TEXT with 4-byte prefix length
> which is distinct to C's zero-terminated  (char *)
> That's very good.
> Then I expect natural possibility to store texts having zero characters.

If you want to store zero characters (or binary data) you
probably want bytea not text.


pgsql-sql by date:

Previous
From: "SZŰCS Gábor"
Date:
Subject: numeric and float converts to int differently?
Next
From: Tom Lane
Date:
Subject: Re: bug in working with TEXT constants ?