Implemented structure dump for postgres