PostgreSQLのインストーラーで入れても良いけど,cygwinがあれば,クライアントだけを手軽に導入できた.
パッケージをインストール
takuya@letsnote:~$ apt-cyg install postgresql-client
psql がErrorになる
takuya@letsnote:~$ cygcheck psql takuya@letsnote:~$ apt-cyg install openldap-devel postgresql-devel takuya@letsnote:~$ cygcheck psql
エラー無くなればOK
takuya@letsnote:~$ psql my_db -U postgres -h localhost my_db=# \dt List of relations Schema | Name | Type | Owner --------+-------------------+-------+---------- public | common_data | table | postgres