Re: Can Functions be written in C++ or only C? - Mailing list pgsql-novice

From Einar Karttunen
Subject Re: Can Functions be written in C++ or only C?
Date
Msg-id 20010807155936.A23742@cs.helsinki.fi
Whole thread Raw
In response to Can Functions be written in C++ or only C?  ("Phillip J. Allen" <paallen@attglobal.net>)
List pgsql-novice
On Tue, Aug 07, 2001 at 07:49:06AM -0500, Phillip J. Allen wrote:
> Hi all,
>
> I was reading Bruce Momjian book on PostgreSQL and his chapter on user
> created functions stated that functions can be written in SQL, PL/PGSQL,
> PL/TCL, PL/Per, and C.  But I have been studying C++ for linux.  So can
> I create a  dynamically linked object file  in C++ and reference it in a
> function?
>
The easiest way is to write C-wrappers around your C++ code.

- Einar Karttunen

pgsql-novice by date:

Previous
From: "Phillip J. Allen"
Date:
Subject: Can Functions be written in C++ or only C?
Next
From: Tom Lane
Date:
Subject: Re: Can Functions be written in C++ or only C?