From: hubert depesz lubaczewski <depesz@depesz.com>
To: pawel_kukawski <kukismen@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: invalid byte sequence for encoding "UTF8": 0x00
Date: Sun, 20 Nov 2011 11:19:15 +0100
Message-ID: <20111120101915.GA10708@depesz.com> (raw)
In-Reply-To: <1321723932432-5007173.post@n5.nabble.com>
References: <1321723932432-5007173.post@n5.nabble.com>
On Sat, Nov 19, 2011 at 09:32:12AM -0800, pawel_kukawski wrote:
> Is there any way I can store NULL character (\u0000) in string ?
>
> Or there is only one option that I have change every text field to bytea.
correct question is: why do you want to store \u0000 in text field?
Best regards,
depesz
--
The best thing about modern society is how easy it is to avoid contact with it.
http://depesz.com/
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: depesz@depesz.com, kukismen@gmail.com
Subject: Re: invalid byte sequence for encoding "UTF8": 0x00
In-Reply-To: <20111120101915.GA10708@depesz.com>
References: <1321723932432-5007173.post@n5.nabble.com> <20111120101915.GA10708@depesz.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