以下のサイトの手順のようにGUIで行った方が早くて楽だった。
http://www.cyber-funnel.com/postgres/index1508.html