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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2012-01-31 18:48:36 Re: JSON for PG 9.2
Previous Message Merlin Moncure 2012-01-31 18:32:31 Re: JSON for PG 9.2