How to connect PostgreSQL database in Eclipse?
First download JDBC driver. Be sure to download appropriate driver for your database version.
In order to connect to this database in Eclipse, you must have Eclipse for Java EE developers (or installed plugin Web Tools Platform - WTP).
Switch to Database development perspective and follow my instructions.