Re: Creating server-side functions: one simple error - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: Creating server-side functions: one simple error
Date
Msg-id Pine.LNX.4.44.0210111850320.928-100000@localhost.localdomain
Whole thread Raw
In response to Re: Creating server-side functions: one simple error  (Ruslan A Dautkhanov <rusland@scn.ru>)
List pgsql-bugs
Ruslan A Dautkhanov writes:

> Is this mean, that PostgreSQL not C++-ready for compiling server-side
> functions, doesn't it?

PostgreSQL is written in C and does not claim to be compilable by a C++
compiler.  That includes the header files.

> Is any methods exists for compiling procedure in
> C++ (namespace modifications etc)?? Thanks for your help.

Make a small wrapper that you compile with a C compiler and put the actual
C++ implementation into a separate file.  Maybe you could make a complete
C++ language handler out of that.

--
Peter Eisentraut   peter_e@gmx.net

pgsql-bugs by date:

Previous
From: elein (by way of elein
Date:
Subject: Re: Creating server-side functions: one simple error
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #796: Problem after upgrading to v. 723