Re: Creating server-side functions: one simple error

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Ruslan A Dautkhanov <rusland(at)scn(dot)ru>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Joe Conway <mail(at)joeconway(dot)com>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Creating server-side functions: one simple error
Date: 2002-10-11 22:42:47
Message-ID: Pine.LNX.4.44.0210111850320.928-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2002-10-12 14:23:50 Bug #796: Problem after upgrading to v. 723
Previous Message elein 2002-10-11 22:15:50 Re: Creating server-side functions: one simple error