Add rudimentary support for pg_restore