pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Eugene E. <sad@bankir.ru>
To: PFC <lists@peufeu.com>
Cc: 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: Tue, 21 Mar 2006 13:33:25 +0300
Message-ID: <441FD675.9040308@bankir.ru> (raw)
In-Reply-To: <op.s6p0sdq2cigqcu@apollo13>
References: <Pine.LNX.4.44.0603201522410.22894-100000@matrix.gatewaynet.com>
	<441EA0A7.8030601@bankir.ru>
	<op.s6pt28eacigqcu@apollo13>
	<441EC1CC.4070300@bankir.ru>
	<op.s6p0sdq2cigqcu@apollo13>

PFC wrote:
> 
>> I wrote:
>>
>>>> the problem is: you'll get this four byte sequence '\000' _instead_  
>>>> of  NUL-byte anyway.
>>
>>
>> You wrote:
>>
>>> Your client library should take care of escaping and de-escaping.
>>
>>
>> We both agree as you see.
>>
>> Then i am asking:
>> WHY should a client take care of de-escaping ? Why not to get his 
>> data  unchanged ?
> 
> 
>     I can understand why you say that for something as simple as a 
> BYTEA, but  if the value to be passed to the client is an ARRAY of 
> geometric types or  something

Who said "array" ? I just want to restore _one byte_ from bytea storage. 
that's all.

>     Exporting data from postgres in binary is only useful to C 
> programmers

Serious judgment ! Extremely seriuos...
nonetheless C programmers could not do this.





view thread (47+ messages)  latest in thread

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