Allow pg_dump to dump from PostgreSQL databases.
authorPavan Deolasee <pavan.deolasee@gmail.com>
Tue, 18 Apr 2017 06:57:06 +0000 (12:27 +0530)
committerPavan Deolasee <pavan.deolasee@gmail.com>
Fri, 5 May 2017 04:59:34 +0000 (10:29 +0530)
commit69fba376ab646b51e9645b302bc28b2c02d6779a
tree6e26be6b15a83cf26239402d8fad9987fc191f1f
parent5e6562f0edc534d668639694590f2534fbb04a51
Allow pg_dump to dump from PostgreSQL databases.

The current implementation could only dump from XL database, which is not ideal
since we then need to use pg_dump/pg_dumpall from PG installation to dump PG
database. We now check whether the remote server is running XL or PG and then
acoordingly skip XL-specific dumps.
src/bin/pg_dump/pg_backup.h
src/bin/pg_dump/pg_backup_db.c
src/bin/pg_dump/pg_dump.c