Skip site navigation (1) Skip section navigation (2)

Re: Issues with C++ exception handling in an FDW

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: "Soules, Craig" <craig(dot)soules(at)hp(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Issues with C++ exception handling in an FDW
Date: 2012-01-31 18:44:13
Message-ID: CA+TgmoZ+FMe_EkhEGY0vq1beZYxVwQGz-bBQDm4z_UqhvRKQJQ@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Mon, Jan 30, 2012 at 6:04 PM, Soules, Craig <craig(dot)soules(at)hp(dot)com> wrote:
> When there are no errors everything works flawlessly, however, we noticed that even throwing an exception in the C++ layer was causing an immediate segmentation fault.  Even when encapsulated in a try { } catch(...) { } block.

Stack backtrace?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2012-01-31 18:48:36
Subject: Re: JSON for PG 9.2
Previous:From: Merlin MoncureDate: 2012-01-31 18:32:31
Subject: Re: JSON for PG 9.2

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group