Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sathish-io/7c21738a74b58e15ad0a to your computer and use it in GitHub Desktop.
Save sathish-io/7c21738a74b58e15ad0a to your computer and use it in GitHub Desktop.
Start and Stop PostgreSQL Service on Windows command line
NET START postgresql-x64-9.3 (64-bit windows)
NET STOP postgresql-x64-9.3 (64-bit windows)
NET START postgresql-9.3 (32-bit windows)
NET STOP postgresql-9.3 (32-bit windows)
Note: This is for Windows 7. Replace 9.3 with your version of PostgreSQL version.
@robertofd1995
Copy link

robertofd1995 commented Feb 1, 2018

Useful , And for cheking the status of the database and see if is up or down ?

@deepakrajput56
Copy link

Great,,very useful, Thanks.

@joelethan
Copy link

Then how do I start it on windows 8.1??

'NET START postgresql-x64-9.3' gives me an error, system error has occurred

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment