From owner-freebsd-questions Tue Feb 25 13:52:20 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9191037B401 for ; Tue, 25 Feb 2003 13:52:18 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 6C55943FAF for ; Tue, 25 Feb 2003 13:52:16 -0800 (PST) (envelope-from mwm-dated-1046641935.d0c9b7@mired.org) Received: (qmail 21049 invoked from network); 25 Feb 2003 21:52:15 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 25 Feb 2003 21:52:15 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15963.58767.33461.809290@guru.mired.org> Date: Tue, 25 Feb 2003 15:52:15 -0600 To: Trent Nelson Cc: "Philip M. Gollucci" , synrat , questions@freebsd.org Subject: Re: Oracle on FreeBSD In-Reply-To: <20030225184430.GA73776@limekiln.vcisp.net> References: <1046128729.490.8.camel@dethstar> <200302242321.04463.philip@p6m7g8.com> <20030225091453.GB70361@limekiln.vcisp.net> <15963.38404.257921.610622@guru.mired.org> <20030225184430.GA73776@limekiln.vcisp.net> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.70 (Pensive) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In <20030225184430.GA73776@limekiln.vcisp.net>, Trent Nelson typed: > On Tue, Feb 25, 2003 at 10:12:52AM -0600, Mike Meyer wrote: > > In <20030225091453.GB70361@limekiln.vcisp.net>, Trent Nelson typed: > > > I'm interested in seeing how well something like PostgreSQL can be > > > used as a ``drop-in'' replacement for Oracle. If I have clients > > > connecting via ODBC (Rational ClearQuest), I personally couldn't > > > care what the underlying database is. Now *that* is something I'd > > > be interested in seeing a write up for. > > It's not a drop-in replacement. You have to install the PostgreSQL > > ODBC drivers on all the clients. Any client-side scripts will have to > > be changed to use a PostgreSQL wrappers instead of Oracle > > wrappers. The SQL is probably subtly different as well. > > SQL may be a standard, but you still get locked into the databases > > that you can query with it. > Perhaps I should have been more specific. I'm interested in how far > you can get (i.e. what queries will work, what ones won't) before > you reach a complete road-block. That requires in-depth knowledge of both systems, which I try to avoid having. I try to write plain-jane SQL so it will work on anything, or use standardized wrappers that are available for a number of databases. > With regards to ODBC, changing the > driver being used by the application's '*odbc.ini' configuration fi- > le is sufficient for modifying the database being interfaced to, is > it not? i.e. the application simply calls standard ODBC functions > which the individual database drivers implement. Right. Having to do it on every client means I won't call it a drop-in replacement. Drop-ins should be transparent to the clients. http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message