postgresql in command line windows code example
Example 1: how to open postgresql in windows
pg_ctl.exe restart -D "C:\Program Files\PostgreSQL\9.6\data"
Example 2: how to open postgresql in windows
pg_ctl.exe restart -D "<path upto data>"
pg_ctl.exe restart -D "C:\Program Files\PostgreSQL\9.6\data"
pg_ctl.exe restart -D "<path upto data>"