How to stop PostgreSQL on Windows?

First, you want to find the PostgreSQL database directory, it can be something like C:\Program Files\PostgreSQL\10.4\data. Then open Command Prompt and execute this command. Now use pg_ctl -D "C:\Program Files\PostgreSQL\9.6\data" stop to stop these service.

Suggest An Answer

No suggestions avaliable!

Latest post from PostgreSQL Interview Questions

Ask Question