Re: running multiple versions

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: running multiple versions
Date: 2012-02-17 06:38:41
Message-ID: 4F3DF5F1.1090004@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 02/16/12 3:10 PM, John R Pierce wrote:
> so, if I was to install 8.4.somethignelse into a different directory,
> I'd need to create a seperate service for it, like...
>
> sc create postgres-8.4.5 binPath="D:/postgres/8.4.5/bin/pg_ctl.exe
> runservice -N postgresql-8.4.5 -D D:/postgres/8.4.5/data -w"
> type=own start=auto error=normal
> DisplayName="postgresql-8.4.5 - PostgreSQL Server 8.4.5" depend=RPCSS
> obj=.\postgres

let me also point out here, I was careful to avoid spaces in the
postgres path. I don't know how or even if you can quote the paths
properly in the binPath= argument to 'sc create'

the obj= is the username that the service runs as, .\ meaning local as
opposed to domain.

--
john r pierce N 37, W 122
santa cruz ca mid-left coast

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Amila Jayasooriya 2012-02-17 07:10:44 cast type bytea to double precision
Previous Message Stefan Weiss 2012-02-17 04:16:04 Re: MD5 salt in pg_authid password hashes