Re: have you feel anything when you read this ?

From: "Eugene E(dot)" <sad(at)bankir(dot)ru>
To: PFC <lists(at)peufeu(dot)com>
Cc: Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-sql(at)postgresql(dot)org
Subject: Re: have you feel anything when you read this ?
Date: 2006-03-21 10:33:25
Message-ID: 441FD675.9040308@bankir.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Eugene E. 2006-03-21 10:36:20 Re: have you feel anything when you read this ?
Previous Message PFC 2006-03-21 08:56:14 Re: Update counter when row SELECT'd ... ?