Copying database objcts from a remote source v15
There are two functions you can use with EDB Clone Schema to perform a remote copy of a schema and its database objects:
remotecopyschema
— This function copies a schema and its database objects from a source database to a different target database. Use this function when the source schema and the copy will reside in separate databases. The separate databases can reside in the same EDB Postgres Advanced Server database clusters or in different ones. See remotecopyschema for more information.remotecopyschema_nb
— This function performs the same purpose asremotecopyschema
but as a background job, which frees up the terminal from which the function was initiated. This function is a non-blocking function. See remotecopyschema_nb for more information.
Copying a remote schema
The remotecopyschema
function copies a schema and its database objects from a source schema in the remote source database specified in the source_fdw
foreign server to a target schema in the local target database specified in the target_fdw
foreign server: