Re: Can Functions be written in C++ or only C?

From: Einar Karttunen <ekarttun(at)cs(dot)Helsinki(dot)FI>
To: "Phillip J(dot) Allen" <paallen(at)attglobal(dot)net>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Can Functions be written in C++ or only C?
Date: 2001-08-07 12:59:36
Message-ID: 20010807155936.A23742@cs.helsinki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2001-08-07 14:02:05 Re: Can Functions be written in C++ or only C?
Previous Message Phillip J. Allen 2001-08-07 12:49:06 Can Functions be written in C++ or only C?