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

From Stephan Szabo
Subject Re: have you feel anything when you read this ?
Date
Msg-id 20060331084503.W64402@megazone.bigpanda.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
On Fri, 31 Mar 2006, Eugene E. wrote:

> Peter Eisentraut wrote:
> > Eugene E. wrote:
> >
> >>the problem is: you'll get this four byte sequence '\000' _instead_
> >>of NUL-byte anyway.
> >
> >
> > What you seem to be missing is that PostgreSQL data can be represented
> > in textual and in binary form.  What you in psql is the textual form.
> > If you want the binary form you need to select it.  Then you can pass
> > the exact bytes back and forth.
>
> your sentence is not true.
> I can not select exact bytes even if i use BYTEA type

No, that is still using the textual form.  If you use PQexecParams and set
the last argument to show you want binary data, you should get binary
data.


pgsql-sql by date:

Previous
From: "Eugene E."
Date:
Subject: Re: have you feel anything when you read this ?
Next
From: vince@weaktight.com
Date:
Subject: query; check for zero and floats