Re: Fixed directory locations in installs

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fixed directory locations in installs
Date: 2004-05-03 07:41:07
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE34B8EF@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> The only hard facts that we can use are hardcoded/compiled-in
> locations and explicit information passed via command-line
> arguments or environment variables. None of this seems to be
> useful for Windows installations. As far as I recall, the
> Windows installation routines only ask you for one
> installation directory but not all the individual ones. If
> this is true, then we could hardcode relative paths, but
> maybe I'm mistaken. Can someone give a couple of full
> examples of typical Windows installation layouts?

Not sure if this is exactly what you're looking for, but here's a try.

Microsoft SQL Server 2000:
Base directory: c:\Program Files\Microsoft SQL Server
Server root: c:\Program Files\Microsoft SQL Server\MSSQL
.EXE & .DLL: c:\Program Files\Microsoft SQL Server\MSSQL\Binn
.sql used(at)inst: c:\Program Files\Microsoft SQL Server\MSSQL\Install
Internal .DLLs: c:\Program Files\Microsoft SQL Server\80\Com
Client tools: c:\Program Files\Microsoft SQL Server\80\Tools
Default datadir:c:\Program Files\Microsoft SQL Server\MSSQL\Data

Not an example of a simple layout, certainly. For something a little
more "consistent", Exchange Server 2000:
Base directory: c:\Program Files\exchsrvr
.EXE/.DLL: c:\Program Files\exchsrvr\bin
Default Datadir:c:\Program Files\exchsrvr\mdbdata
Language DLLs: c:\Program Files\exchsrvr\res
Schema @inst: c:\Program Files\exchsrvr\Schema
Log files: c:\Program Files\exchsrvr\<servername>.log

As you can see, this one is more clean.

You can typically change the Base directory, as well as the data
directory. The other subdirectories are normally locked relative to the
base directory. Some will let you split out client side files and server
side files into different directories, if both are installed.

//Magnus

Browse pgsql-hackers by date

  From Date Subject
Next Message Claudio Natoli 2004-05-03 07:43:01 Re: Fixed directory locations in installs
Previous Message Cody Pisto 2004-05-03 07:38:50 libpq, binary cursors, & arrays