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

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 (view raw or flat)
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

pgsql-bugs by date

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

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