check connection to postgres database in windows code example
Example 1: postgresql connect to database command line
user@user-pc:~$ sudo -i -u postgres
postgres@user-pc:~$ psql
psql (9.3.5, server 9.3.6)
Type "help" for help.
Example 2: postgres setup windows
DOWNLOAD FROM HERE : https://www.postgresql.org/download/windows/