Received: from portal.west.saic.com (portal.west.saic.com [198.151.12.15]) by hub.org (8.9.3/8.9.3) with SMTP id RAA08970 for ; Wed, 26 Jan 2000 17:02:15 -0500 (EST) (envelope-from officers@aries.tucson.saic.com) Received: from gatespass.tucson.saic.com by portal.west.saic.com via smtpd (for postgresql.org [216.126.84.28]) with SMTP; 26 Jan 2000 22:02:13 UT Received: (from adm@localhost) by gatespass.tucson.saic.com (8.8.2/8.8.2) id PAA03957 for ; Wed, 26 Jan 2000 15:02:12 -0700 (MST) X-Authentication-Warning: gatespass.tucson.saic.com: adm set sender to using -f Received: from wasp.tucson.saic.com(139.121.3.171) by gatespass.tucson.saic.com via smap (V2.0) id xma003955; Wed, 26 Jan 00 15:01:56 -0700 Received: from aries.tucson.saic.com (localhost [127.0.0.1]) by wasp.tucson.saic.com (980427.SGI.8.8.8/950213.SGI.AUTOCF) via ESMTP id PAA84530 for ; Wed, 26 Jan 2000 15:01:53 -0700 (MST) Sender: officers@aries.tucson.saic.com Message-ID: <388F6ED1.AABAC99A@aries.tucson.saic.com> Date: Wed, 26 Jan 2000 15:01:53 -0700 From: Sarah Officer X-Mailer: Mozilla 4.07C-SGI [en] (X11; I; IRIX 6.5 IP32) MIME-Version: 1.0 To: pgsql-admin@postgreSQL.org Subject: ugly name clash Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am porting a system from Oracle to Postgres. At this time, both databases are installed. I will probably arrange the software so that I can use an environment variable to specify which database should be used. I have had problems with an include file name clash between postgres & oracle: sqlca.h. Both include files define a struct called sqlca, an unusual coincidence. Is there some way to avoid the name clash without having to put postgres in a special installation location that isn't in my path when I compile with oracle? Perhaps include files could all go into a pg subdirectory so that the user could include instead of just , and that would differentiate? Systems that use an include subdirectory don't seem to have as many name clash problems. When I want to link to postgres, I can easily turn off the oracle copy because it IS installed in a nonstandard directory (I had no choice--this is not a benefit). But I would prefer to put all in one area and use or to distinguish between them. How about it? Sarah Officer officers@aries.tucson.saic.com