pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ralph Mason <ralph.mason@telogis.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: Binary Refcursor possible?
Date: Wed, 23 Nov 2005 17:14:38 +1300
Message-ID: <4383ECAE.8050109@telogis.com> (raw)
In-Reply-To: <10135.1132718845@sss.pgh.pa.us>
References: <4383E459.2070906@telogis.com>
	<10135.1132718845@sss.pgh.pa.us>

Tom Lane wrote:
> Ralph Mason <ralph.mason@telogis.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







view thread (3+ messages)

Message-ID: <4383ECAE.8050109@telogis.com>
Permalink:  ../4383ECAE.8050109@telogis.com/
Also on:    postgresql.org/message-id/4383ECAE.8050109@telogis.com

 · 

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-performance@postgresql.org
  Cc: ralph.mason@telogis.com, tgl@sss.pgh.pa.us
  Subject: Re: Binary Refcursor possible?
  In-Reply-To: <4383ECAE.8050109@telogis.com>

* 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