Skip to contents

This helper is intentionally narrow: it only supports RPostgres PqConnection objects and assumes enough connection information is available to build a PostgreSQL URI. If any required piece is missing, the function fails instead of attempting alternative fallbacks. The returned ADBC connection is separate from the original RPostgres connection, so using this helper requires capacity for an additional concurrent database connection.

Usage

con_to_adbi(con)

Arguments

con

An RPostgres connection object.

Value

An ADBC connection created by adbi.