pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Renato Gondim <Renato.Gondim@SoftwareExpress.com.br>
To: pgsql-odbc@postgresql.org
Subject: Getting Handle allocation error
Date: Mon, 19 Jun 2006 15:36:30 -0300
Message-ID: <003101c693cf$48417300$3c35a8c0@MRENATO> (raw)

Hi list.
I'm forcing an error when the application tries to allocate the handle for a
statement. I force creating lots of handles until the maximum numbers are
achieved. Looking in a piece of MyLog below we can see that the error
occurred, but nothing is returned by the ODBC to the application. Does
anybody knows if there's some configuration to be done in the ODBC to solve
that?

Thank's,
Renato.

[3360]CONN ERROR: func=PGAPI_AllocStmt, desc='', errnum=203, errmsg='Maximum
number of connections exceeded.'
[3360]SC_Destructor: self=7f31e770, self->result=0, self->hdbc=c93a38
[3360]APD_free_params:  ENTER, self=2133977196
[3360]IPD_free_params:  ENTER, self=7f31e8ac
[3360]PDATA_free_params:  ENTER, self=7f31e914
[3360]SC_Destructor: EXIT
[3360][SQLGetDiagRecW][3360]PGAPI_GetDiagRec entering type=2 rec=1
[3360]**** PGAPI_ConnectError: hdbc=c93a38 <511>
[3360]enter CC_get_error
[3360]enter CC_create_errormsg
[3360]msg = ''
[3360]exit CC_create_errormsg
[3360]exit CC_get_error
[3360]CC_Get_error returned nothing.
[3360]PGAPI_GetDiagRec exiting 100




view thread (2+ messages)  latest in thread

Message-ID: <003101c693cf$48417300$3c35a8c0@MRENATO>
Permalink:  ../003101c693cf$48417300$3c35a8c0@MRENATO/
Also on:    postgresql.org/message-id/003101c693cf$48417300$3c35a8c0@MRENATO

 · 

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: Renato.Gondim@SoftwareExpress.com.br
  Subject: Re: Getting Handle allocation error
  In-Reply-To: <003101c693cf$48417300$3c35a8c0@MRENATO>
  References: <003101c693cf$48417300$3c35a8c0@MRENATO>

* 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