Skip to main content

validate_foreign_servers

Function validate_foreign_servers 

Source
pub fn validate_foreign_servers(
    servers: &BTreeMap<String, ForeignServerDefinition>,
    roles: &BTreeMap<String, RoleDefinition>,
) -> Result<(), SQLError>
Expand description

Validate identities before publishing any restored definition. A name, OID or incarnation cannot alias another server, and an owner must still be the role incarnation that created it.