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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: 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 14:02:05
Message-ID: 29316.997192925@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Phillip J. Allen" <paallen(at)attglobal(dot)net> writes:
> So can I create a dynamically linked object file in C++ and reference
> it in a function?

In theory you could, but in practice it's likely to be fairly painful.
IIRC, people have reported that the backend include files are not very
C++ - clean.

BTW, if you can write C++, you can write C ... you just have to remember
which parts of the language not to use.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Leandro Fanzone 2001-08-09 19:08:18 Test
Previous Message Einar Karttunen 2001-08-07 12:59:36 Re: Can Functions be written in C++ or only C?