Re: pg_ctl start close the cmd.exe then the server would stop.

From: gelin yan <dynamicgl(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_ctl start close the cmd.exe then the server would stop.
Date: 2012-06-15 05:22:40
Message-ID: CABkOF6SAVPohqFL7H=HbY2Co4RBS8_cr+Fnb1079uaag3Ex-Bw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jun 15, 2012 at 8:24 AM, xytianer <yyz36(at)163(dot)com> wrote:

> pg_ctl start close the cmd.exe then the server would stop.
>
> i use the command pg_ctl start my dbserver in cmd. then i could not
> close the cmd.exe , if i do, the server will stop.
>
> can someone give me some advice?
>
> --
> View this message in context:
> http://postgresql.1045698.n5.nabble.com/pg-ctl-start-close-the-cmd-exe-then-the-server-would-stop-tp5712685.html
> Sent from the PostgreSQL - general mailing list archive at Nabble.com.
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

Hi

Why do you want to close the cmd.exe? pg_ctl is supposed not to work as
a daemon.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vlad Arkhipov 2012-06-15 06:48:27 Get RULE condition and commands
Previous Message Craig Ringer 2012-06-15 01:12:11 Re: about seperate users in PostgreSQL