Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4JG4cA71499 for ; Sat, 19 May 2001 12:04:39 -0400 (EDT) (envelope-from ler@lerctr.org) Received: (from ler@localhost) by lerami.lerctr.org (8.12.0.Beta7/8.12.0.Beta7/20010318/$Revision: 1.22 $) id f4JG4cQ9002508; Sat, 19 May 2001 11:04:38 -0500 (CDT) (envelope-from ler) Date: Sat, 19 May 2001 11:04:37 -0500 From: Larry Rosenman To: Tom Lane Cc: Hackers List Subject: Re: C++ Headers Message-ID: <20010519110437.A2127@lerami.lerctr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <215.990285989@sss.pgh.pa.us> User-Agent: Mutt/1.3.18i X-Mailer: Mutt http://www.mutt.org/ X-Archive-Number: 200105/797 X-Sequence-Number: 9049 * Tom Lane [010519 10:29]: > mlw 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