pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: sad <sad@bankir.ru>
Cc: psql <pgsql-sql@postgresql.org>
Subject: Re: bug in working with TEXT constants ?
Date: Tue, 28 Oct 2003 07:11:51 -0800 (PST)
Message-ID: <20031028070734.P60098@megazone.bigpanda.com> (raw)
In-Reply-To: <200310281153.54160.sad@bankir.ru>
References: <200310281153.54160.sad@bankir.ru>

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.



view thread (3+ messages)  latest in thread

Message-ID: <20031028070734.P60098@megazone.bigpanda.com>
Permalink:  ../20031028070734.P60098@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20031028070734.P60098@megazone.bigpanda.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sszabo@megazone.bigpanda.com, sad@bankir.ru
  Subject: Re: bug in working with TEXT constants ?
  In-Reply-To: <20031028070734.P60098@megazone.bigpanda.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox