Re: Reg: Pg_Ctl command help

2019-04-03 Thread Melvin Davidson
When you open a command shell to execute pg_ctl, all commands, including Postgresql will be terminated once you close the command shell. As Rene stated, the proper way to start and stop PostgreSQL is to use the Services from the Task Manager. On Wed, Apr 3, 2019 at 8:30 PM Rene Romero Benavides <

Re: Reg: Pg_Ctl command help

2019-04-03 Thread Rene Romero Benavides
How did you install it? It should be installed as a service. On Wed, Apr 3, 2019 at 4:24 AM Nadeem Akbar basha wrote: > Hello, > > > > I have a query regarding starting the Postgres server using the ‘pg_ctl’ > command in the command prompt (Windows OS). > > > > I try to start the postgres serve

Reg: Pg_Ctl command help

2019-04-03 Thread Nadeem Akbar basha
Hello, I have a query regarding starting the Postgres server using the 'pg_ctl' command in the command prompt (Windows OS). I try to start the postgres server using the following command, pg_ctl -D "C:\Program Files\PostgreSQL\9.6\data" start -w After the server gets started, I'm closing the c