Re: have you feel anything when you read this ?

From: Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: "Eugene E(dot)" <sad(at)bankir(dot)ru>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: have you feel anything when you read this ?
Date: 2006-03-20 13:06:11
Message-ID: Pine.LNX.4.44.0603201504250.22800-100000@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

O Peter Eisentraut έγραψε στις Mar 20, 2006 :

> Eugene E. wrote:
> > the bytea does not output NULs at all.
> > don't mock me.
>
> peter=# create table test (a bytea);
> CREATE TABLE
> peter=# insert into test values ('a\\000b');
> INSERT 0 1
> peter=# select * from test;
> a
> --------
> a\000b

Just did

dynacom=# SELECT '\150\145\154\154\157'::text;
text
-------
hello
(1 row)

dynacom=#
dynacom=#
dynacom=# SELECT '\000\150\145\154\154\157'::text;
text
------

(1 row)

dynacom=#

Oops!

>
>

--
-Achilleus

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Eisentraut 2006-03-20 13:15:29 Re: have you feel anything when you read this ?
Previous Message Eugene E. 2006-03-20 12:44:26 Re: have you feel anything when you read this ?