Re: have you feel anything when you read this ?
| От | Achilleus Mantzios | 
|---|---|
| Тема | Re: have you feel anything when you read this ? | 
| Дата | |
| Msg-id | Pine.LNX.4.44.0603201522410.22894-100000@matrix.gatewaynet.com обсуждение исходный текст | 
| Ответ на | Re: have you feel anything when you read this ? ("Eugene E." <sad@bankir.ru>) | 
| Ответы | Re: have you feel anything when you read this ? | 
| Список | 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 по дате отправления: