latest driver returns no error on out of memory

From: "Andrus" <kobruleht2(at)hot(dot)ee>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: latest driver returns no error on out of memory
Date: 2011-02-14 19:42:05
Message-ID: B8D0FD088BF9451ABB9D25BD7893224F@andrusnotebook
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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

Browse pgsql-odbc by date

  From Date Subject
Next Message Vernon Cole 2011-02-16 02:07:29 "Money" fields are returned as 'float'.
Previous Message maria elena hernandez 2011-02-14 19:06:59 FW: AW: FW: error "DSN specified architecture mismatch between the controller and the application"