From: | Ralph Mason <ralph(dot)mason(at)telogis(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: Binary Refcursor possible? |
Date: | 2005-11-23 04:14:38 |
Message-ID: | 4383ECAE.8050109@telogis.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Tom Lane wrote:
> Ralph Mason <ralph(dot)mason(at)telogis(dot)com> writes:
>
>> Is there any way I can say make ret a binary cursor?
>>
>
> It's possible to determine that at the protocol level, if you're using
> V3 protocol; but whether this is exposed to an application depends on
> what client-side software you are using. Which you didn't say.
>
> regards, tom lane
>
This is probably in the documentation but I couldn't find it.
All I could see is that if you open a cursor for binary it would return
with a type of binary rather than text in the row data messages. The
RowDescription format code is always text, and the cursor thing is the
only way I could see to change that.
Is there some setting I can set that will make it return all data as
binary? The dream would also be that I could ask the server it's native
byte order and have it send me binary data in it's native byte order.
Nice and fast. :-0
Ralph
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Stark | 2005-11-23 04:21:36 | Re: Hardware/OS recommendations for large databases ( |
Previous Message | Tom Lane | 2005-11-23 04:07:25 | Re: Binary Refcursor possible? |