pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Caio Begotti <caio@ueberalles.net>
Cc: pgsql-odbc@postgresql.org
Subject: Re: possible odbc driver bug with postgresql-7.4
Date: Tue, 12 Dec 2006 12:11:11 -0500
Message-ID: <4699.1165943471@sss.pgh.pa.us> (raw)
In-Reply-To: <2D198CAE-6B07-4BF0-A1CA-7E651A9BBD8C@ueberalles.net>
References: <A86E4745-3ADB-4D6E-A1AF-8E077D6EC514@ueberalles.net>
	<2D198CAE-6B07-4BF0-A1CA-7E651A9BBD8C@ueberalles.net>

Caio Begotti <caio@ueberalles.net> writes:
>> We've been unable to get SQLGetData to work with chunking and the  
>> code is just pulling the OID of the blog, and not the actual blob...

Is that supposed to work?  I can't see the whole code, just the proposed
patch to change the chunk size on-the-fly (which seems completely
useless for such a small chunk size) ... but what it looks like is that
it's just selecting the OID column value.

If you expect a read of the column to deliver a lot of bytes then you
should be using bytea not large objects, I would think.

			regards, tom lane



view thread (12+ messages)  latest in thread

Message-ID: <4699.1165943471@sss.pgh.pa.us>
Permalink:  ../4699.1165943471@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4699.1165943471@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, caio@ueberalles.net
  Subject: Re: possible odbc driver bug with postgresql-7.4
  In-Reply-To: <4699.1165943471@sss.pgh.pa.us>
  References: <A86E4745-3ADB-4D6E-A1AF-8E077D6EC514@ueberalles.net> <2D198CAE-6B07-4BF0-A1CA-7E651A9BBD8C@ueberalles.net> <4699.1165943471@sss.pgh.pa.us>

* 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