pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrus <kobruleht2@hot.ee>
To: pgsql-odbc@postgresql.org
Subject: latest driver returns no error on out of memory
Date: Mon, 14 Feb 2011 21:42:05 +0200
Message-ID: <B8D0FD088BF9451ABB9D25BD7893224F@andrusnotebook> (raw)

I tried latest odbc driver in windows to get large data.
Debug log below shows that in case of out of memory error driver does not 
return this error but
returns success code.
Checiking Use declare/fetch checkbox does not fix this.

How to fix ?

Andrus

[4636-2541.859]REALLOC: old_count = 819200, size = 222822400
[4636-2541.859]CC_error_statements: self=030870A8
[4636-2541.875]CONN ERROR: func=CC_send_query, desc='', errnum=109, 
errmsg='Out of memory while reading tuples.'
[4636-2541.875]SOCK_get_id has to eat 381 bytes
[4636-2541.875]send_query: got id = 'D'
[4636-2541.875]in QR_Constructor
[4636-2541.875]exit QR_Constructor
[4636-2541.875]QResult: enter DESTRUCTOR
[4636-2541.875]QResult: in QR_close_result
[4636-2541.875]QResult: free memory in, fcount=0
[4636-2541.875]QResult: free memory out
[4636-2541.875]QResult: enter DESTRUCTOR
[4636-2541.875]QResult: exit close_result
[4636-2541.875]QResult: exit DESTRUCTOR
[4636-2541.875]QResult: enter DESTRUCTOR
[4636-2541.875]QResult: in QR_close_result
[4636-2541.875]QResult: free memory in, fcount=819200
[4636-2545.500]QResult: free memory out
[4636-2545.500]QResult: enter DESTRUCTOR
[4636-2545.500]QResult: exit close_result
[4636-2545.500]QResult: exit DESTRUCTOR
[4636-2545.500]SC_set_Result(2cc90b8, 30b4dc8)[4636-2545.500]QResult: enter 
DESTRUCTOR
[4636-2545.500]retval=0 




Message-ID: <B8D0FD088BF9451ABB9D25BD7893224F@andrusnotebook>
Permalink:  ../B8D0FD088BF9451ABB9D25BD7893224F@andrusnotebook/
Also on:    postgresql.org/message-id/B8D0FD088BF9451ABB9D25BD7893224F@andrusnotebook

 · 

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: kobruleht2@hot.ee
  Subject: Re: latest driver returns no error on out of memory
  In-Reply-To: <B8D0FD088BF9451ABB9D25BD7893224F@andrusnotebook>
  References: <B8D0FD088BF9451ABB9D25BD7893224F@andrusnotebook>

* 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