Skip to contents

Interrupts active coordinator SQL, joins the native thread, and closes the coordinator's dedicated DuckDB connection. A stopped C API v1 coordinator cannot restart on the same database handle.

Usage

ca_coordinator_stop(db)

Arguments

db

A local handle returned by ca_open() or ca_serve().

Value

TRUE if this call closed the coordinator connection and FALSE if it was already closed or was never loaded.