Re: PostgreSQL run as process in windows

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL run as process in windows
Date: 2013-01-03 02:51:09
Message-ID: 50E4F21D.3060801@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 1/2/2013 6:40 PM, tuanhoanganh wrote:
> I have more than 500 users connect to Postgres in windows 2008 R2. I
> change registry make postgres service support 512 connect. But is
> there any good way make postgres run as process not service. Is it
> safe run postgres as process in windows.

a service *is* a type of process.

yes, you could setup postgres to run in a command line window within a
desktop session, starting and stopping it with pg_ctl ... you'd want to
create a user specifically for this, and have that user own the postgres
data directory. you would need to leave this user logged onto the
console at all times, or postgres would exit when the user session
terminates.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2013-01-03 03:45:51 Re: PostgreSQL run as process in windows
Previous Message tuanhoanganh 2013-01-03 02:40:09 PostgreSQL run as process in windows