Re: C++-Language Function/Process List - Mailing list pgsql-general

From Douglas McNaught
Subject Re: C++-Language Function/Process List
Date
Msg-id m2hdguht0s.fsf@Douglas-McNaughts-Powerbook.local
Whole thread Raw
In response to C++-Language Function/Process List  (Kelly Burkhart <kelly@tradebotsystems.com>)
Responses Re: C++-Language Function/Process List
List pgsql-general
Kelly Burkhart <kelly@tradebotsystems.com> writes:

> I used C++ and noticed that some Postgres headers contain C++ keywords.
> Is there any interest among PG developers in making the C-language
> interface C++ clean?  Or, is there hostility to this idea?

Postgres is written in C.  AIUI it's somewhat dangerous to link C++
functions into the backend, since PG doesn't know how to cope with
thrown exceptions and the like.

-Doug

pgsql-general by date:

Previous
From: greg landrum
Date:
Subject: Re: Exception Handling in C-Language Functions?
Next
From: Douglas McNaught
Date:
Subject: Re: PITR restore hot standby