BUG #9404: (URGENT) problem after calling PQconnectdb, exceptions are not caught

From: davidpf75(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #9404: (URGENT) problem after calling PQconnectdb, exceptions are not caught
Date: 2014-03-01 21:46:59
Message-ID: 20140301214659.1915.56742@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 9404
Logged by: David
Email address: davidpf75(at)gmail(dot)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(at)gmail(dot)com

Thanks!

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2014-03-02 02:54:03 Re: BUG #9384: Restore Database using psql utility fails
Previous Message ..: Mark Sloan :.. 2014-03-01 15:59:08 Re: BUG #9374: some timzone abbver is missing from pg_timezone_abbrevs that are in pg_timezone_names