Re: Postgres goes to auto recovery mode after system restart(check this draft)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres goes to auto recovery mode after system restart(check this draft)
Date: 2017-03-20 14:18:07
Message-ID: 30566.1490019487@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net> writes:
> On Mon, Mar 20, 2017 at 06:48:36AM -0400, George Neuner wrote:
>> pg_ctl is a command-line program that can run as a service. But since
>> it creates no window, when run as an application it cannot receive any
>> environment messages.

> Would it make sense to have pg_ctl create a non-visible
> window when run as an application in order to receive
> environment control messages ?

-1 ... we'd just be adding extra code and maintenance effort to support
an inferior method of running the server. If you want to have it up
all the time, as the OP seemingly does, you ought to be running it as
a service.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sylvain MARECHAL 2017-03-20 15:07:33 Re: Best way to alter a foreign constraint
Previous Message Moreno Andreo 2017-03-20 13:31:29 Google Cloud Platform, snapshots and WAL