I need to import and export data from a PostgreSQL data base into a c++ application. 1.I need to connect PostgreSQL database with my API. 2.I need to import / export from the PostgreSQL database.