Function postgres_util::publication_info[][src]

pub async fn publication_info(
    conn: &str,
    publication: &str
) -> Result<Vec<TableInfo>, Error>
Expand description

Fetches table schema information from an upstream Postgres source for all tables that are part of a publication, given a connection string and the publication name.

Errors

  • Invalid connection string, user information, or user permissions.
  • Upstream publication does not exist or contains invalid values.