Re: have you feel anything when you read this ? - Mailing list pgsql-sql

From Achilleus Mantzios
Subject Re: have you feel anything when you read this ?
Date
Msg-id Pine.LNX.4.44.0603201522410.22894-100000@matrix.gatewaynet.com
Whole thread Raw
In response to Re: have you feel anything when you read this ?  ("Eugene E." <sad@bankir.ru>)
Responses Re: have you feel anything when you read this ?
List pgsql-sql
O Eugene E. έγραψε στις Mar 20, 2006 :

> Peter Eisentraut wrote:
> > 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
> 
> are you kidding ?
> where is NUL-byte in "a\000b" ???

Null byte is a byte of value zero, 
and allow me to say that the \000 in "a\000b" is exactly this.
A NULL value is commonly used in C to terminate a pointer's data.


> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faq
> 

-- 
-Achilleus



pgsql-sql by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: have you feel anything when you read this ?
Next
From: "Eugene E."
Date:
Subject: Re: have you feel anything when you read this ?