export postgres via pg, postgres and postgresql