pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: davidpf75@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #9404: (URGENT) problem after calling PQconnectdb, exceptions are not caught
Date: Sat, 01 Mar 2014 21:46:59 +0000
Message-ID: <20140301214659.1915.56742@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      9404
Logged by:          David
Email address:      davidpf75@gmail.com
PostgreSQL version: 8.4.0
Operating system:   Windows 7 64bit
Description:        

Hi. 
I need help with this issue. I'm working on an important project!

After calling PQconnectdb , everything is ok, the db and all queries. But I
don't know why, error and exceptions are not caught. I mean, I don't see the
windows error crash popup anymore. 

this code just exit without windows error/crash window:
{
	int tmp_i = 0;
	db = PQconnectdb("host=127.0.0.1 dbname='test' user=test password=test");
	tmp_i /= tmp_i;
}
----------
but this one shows a crash/error window
{
	int tmp_i = 0;
	tmp_i /= tmp_i;
}

------
So is like PQconnectdb is blocking exceptions or error handling. Can you
help me? 

my email is davidpf75@gmail.com

Thanks!



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



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

 · 

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-bugs@postgresql.org
  Cc: davidpf75@gmail.com
  Subject: Re: BUG #9404: (URGENT) problem after calling PQconnectdb, exceptions are not caught
  In-Reply-To: <20140301214659.1915.56742@wrigleys.postgresql.org>
  References: <20140301214659.1915.56742@wrigleys.postgresql.org>

* 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