Re: stderr & win32 admin check - Mailing list pgsql-patches

From Magnus Hagander
Subject Re: stderr & win32 admin check
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE34BC8C@algol.sollentuna.se
Whole thread Raw
In response to stderr & win32 admin check  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-patches
>> If you mean only run one instance of postmaster as service,
>> that's not true.
>> If you like two pgsql servers (i.e. db clusters), you can
>> install two services, both using the same binary with
>> different cmd line arguments.
>
>In which case, what would 'net stop postgresql' do? What you suggest is
>correct if using something like the Cygwin service installer
>because you
>can specify unique service names etc. AFAIK there are no plans to allow
>such configurability in PostgreSQL - nor is that something you see in
>most other services.

'net stop postgresql' would stop the instance named 'postgresql'.
'net stop someotherpostgresql' would stop the instance named
'someotherpostgresql'.

It hasn't been discussed, but it would be fairly trivial to add this to
the service installer. (A bit more work on the MSI installer, but we
could do with that one just installing the default instance at least for
starters).

At least I don't htink it's in what Claudio has so far - Claudio? Lots
of work to get into your framework?

And FWIW, that's exactly what Microsoft SQL Server does when you install
multiple instances on the same machine.

//Magnus

pgsql-patches by date:

Previous
From: "Dave Page"
Date:
Subject: Re: stderr & win32 admin check
Next
From: "Magnus Hagander"
Date:
Subject: Re: stderr & win32 admin check