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

Achilleus Mantzios wrote:

>>>   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.

if ("\0"=="\\000")
   printf("congratulations!!!");


NOTE:
I am not care about a _display_ NUL-byte on a screen !
weither it'll be "space" or "some escape sequence"

the problem is: you'll get this four byte sequence '\000' _instead_ of 
NUL-byte anyway.



view thread (47+ messages)  latest in thread

Message-ID: <441EA0A7.8030601@bankir.ru>
Permalink:  ../441EA0A7.8030601@bankir.ru/
Also on:    postgresql.org/message-id/441EA0A7.8030601@bankir.ru

 · 

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: sad@bankir.ru, achill@matrix.gatewaynet.com, peter_e@gmx.net
  Subject: Re: have you feel anything when you read this ?
  In-Reply-To: <441EA0A7.8030601@bankir.ru>

* 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