Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WJwAq-0003Y6-K5 for pgsql-bugs@arkaria.postgresql.org; Sun, 02 Mar 2014 02:30:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WJwAq-0007NS-2r for pgsql-bugs@arkaria.postgresql.org; Sun, 02 Mar 2014 02:30:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WJrkP-0008SG-PR for pgsql-bugs@postgresql.org; Sat, 01 Mar 2014 21:47:05 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WJrkN-0006TI-21 for pgsql-bugs@postgresql.org; Sat, 01 Mar 2014 21:47:05 +0000 MIME-Version: 1.0 Subject: BUG #9404: (URGENT) problem after calling PQconnectdb, exceptions are not caught To: pgsql-bugs@postgresql.org From: davidpf75@gmail.com Date: Sat, 01 Mar 2014 21:46:59 +0000 Message-ID: <20140301214659.1915.56742@wrigleys.postgresql.org> X-Pg-Spam-Score: -0.1 (/) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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