Return-Path: owner-postman 
Delivery-Date: Mon, 18 Apr 94 18:04:04 -0700
Return-Path: owner-postman
Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id OAA14215 for postgres-redist; Mon, 18 Apr 1994 14:21:27 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199404182121.OAA14215@nobozo.CS.Berkeley.EDU>
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from faerie.CS.Berkeley.EDU (faerie.CS.Berkeley.EDU [128.32.149.14]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with ESMTP id OAA14206 for <postgres@postgres.Berkeley.EDU>; Mon, 18 Apr 1994 14:21:26 -0700
Received: from localhost (localhost [127.0.0.1]) by faerie.CS.Berkeley.EDU (8.6.4/8.1B) with SMTP id OAA27609; Mon, 18 Apr 1994 14:21:18 -0700
Message-Id: <199404182121.OAA27609@faerie.CS.Berkeley.EDU>
X-Authentication-Warning: faerie.CS.Berkeley.EDU: Host localhost didn't use HELO protocol
From: aoki@postgres.Berkeley.EDU (Paul M. Aoki)
To: tculver@darwin.cc.nd.edu
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: C++ 
Reply-To: aoki@postgres.Berkeley.EDU (Paul M. Aoki)
In-reply-to: Your message of Mon, 18 Apr 94 15:44:54 EST 
	     <9404182044.AA05134@takagi.helios.nd.edu> 
Date: Mon, 18 Apr 94 14:21:18 -0700
X-Sender: aoki@postgres.Berkeley.EDU
Resent-To: postgres-redist@postgres.Berkeley.EDU
X-Mts: smtp
Resent-Date: Mon, 18 Apr 94 14:21:26 -0700
Resent-XMts: smtp

Tim Culver <tculver@darwin.cc.nd.edu> writes:
> I'm using postgres for an application project for a class in database
> concepts, and I'd like to use C++.  Has anybody successfully used
> pqlib from C++ code using either of the following compilers:
> 1. CC ("cfront", the AT&T compiler);
> 2. g++ (gnu C++)?

there's a minimal c++ interface package (written by justin smith at
drexel) included in postgres 4.2 in src/contrib/cplusplus.  i haven't
look at it recently, but when i ported it to postgres 4.1 it worked
with then-current versions of cfront and g++.
--
  Paul M. Aoki  |  CS Div., Dept. of EECS, UCB  |  aoki@postgres.Berkeley.EDU
                |  Berkeley, CA 94720           |  ...!uunet!ucbvax!aoki

