export/import from one schema to another?
export/import from one schema to another?
От:
"Les Carter" <les.carter@help-me.to>
Дата:
This is a multi-part message in MIME format. --bound1108364091 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit I've seen the pg_dump utility which backs up a database with which you can then use psql to restore but I was wondering how do you go about doing an import/export (like you can do with Oracle) where you can export info from one schema and use that as a reference point and import that data into other schemas to make replicas. Hopefully someone can cast some light on this that would be a little cleaner than having to search/replace in the dump file for the schema name. Cheers, L --bound1108364091--