1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! hazine runs a DuckDB [Quack] server for a DuckLake catalog.
//!
//! It supervises the official DuckDB CLI the way DuckDB's own Quack image does
//! (`sleep infinity | duckdb -init init.sql`): the CLI runs an init file that
//! attaches the lake and calls `quack_serve`, and keeps serving for as long as
//! its stdin stays open. hazine holds that stdin open, forwards the CLI's
//! output to its log, restarts the CLI with backoff when it dies, and closes
//! stdin to stop it cleanly on SIGTERM.
//!
//! It needs the DuckDB 2.0 CLI or later with the `quack` extension installed
//! (`INSTALL quack;`).
//!
//! `hazine setup` installs and configures all of this on a Linux host with
//! systemd, for a catalog in a remote Postgres and data in S3-compatible
//! object storage.
//!
//! Quack listens on a loopback address only, and hazine refuses any other:
//! clients reach it through an SSH tunnel.
//!
//! [Quack]: https://github.com/duckdb/duckdb-quack-infra
pub use Error;
pub use ;