pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Eugene E. <sad@bankir.ru>
Cc: pgsql-sql@postgresql.org
Subject: Re: have you feel anything when you read this ?
Date: Mon, 20 Mar 2006 15:06:11 +0200 (EET)
Message-ID: <Pine.LNX.4.44.0603201504250.22800-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <200603201251.11255.peter_e@gmx.net>

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




view thread (47+ messages)  latest in thread

Message-ID: <Pine.LNX.4.44.0603201504250.22800-100000@matrix.gatewaynet.com>
Permalink:  ../Pine.LNX.4.44.0603201504250.22800-100000@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.44.0603201504250.22800-100000@matrix.gatewaynet.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: achill@matrix.gatewaynet.com, peter_e@gmx.net, sad@bankir.ru
  Subject: Re: have you feel anything when you read this ?
  In-Reply-To: <Pine.LNX.4.44.0603201504250.22800-100000@matrix.gatewaynet.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