Re: C++ Headers

Larry Rosenman <ler@lerctr.org>

From: Larry Rosenman <ler@lerctr.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Hackers List <pgsql-hackers@postgresql.org>
Date: 2001-05-19T16:04:37Z
Lists: pgsql-hackers
* Tom Lane <tgl@sss.pgh.pa.us> [010519 10:29]:
> mlw <markw@mohawksoft.com> writes:
> > Is any support for reworking the postgres headers such that they can be used,
> > cleanly, in a C++ program?
> 
> You'll get no support for a request for a blank check.  What do you have
> in mind exactly?
> 
> ISTM that making the backend's internal headers C++-clean has already
> been looked into, but rejected on grounds that I don't recall clearly.
> Check the list archives.
I do know that you can use libpq-fe.h cleanly in a C++ program (the 
table posted earlier today gets populated by a C++ app), modulo the
Oid type conflicts with an SNMP++ header, handled by a quick #define. 

LER

> 
> 			regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749