sqlload 0.55.0

SQL data loading tooling.
//! Fixed text of the command line.

/// The answers that confirm a `--reload`.
pub const RELOAD_YES: [&str; 3] = ["y", "Y", "yes"];

/// The line a declined `--reload` ends with.
pub const RELOAD_DECLINED: &str = "✗ Reload cancelled: nothing was changed";

/// The exit code of a `load --follow` stopped by a second Ctrl-C or SIGTERM, as a shell reports SIGINT.
pub const FORCED_STOP_EXIT: i32 = 130;

/// The exit code of a run that failed only in ways running it again unchanged may fix (`EX_TEMPFAIL`): a dropped or refused connection, throttling or server errors that outlasted their retries, or a table another run is loading.
pub const RETRYABLE_EXIT: u8 = 75;

/// The stack a command runs on: a Linux main thread's default, 8 MiB, on every system.
pub const COMMAND_STACK_BYTES: usize = 8 * 1024 * 1024;

/// What `load` adds to the plan's closing line, since it leaves out the Loads and Skipped trees.
pub const PLAN_TREE_HINT: &str = "(sqlload plan shows the tree)";

/// The fewest columns a wrapped line's further lines keep for text; a field starting further right wraps under an earlier one.
pub const WRAP_ROOM: usize = 20;

/// The narrowest terminal a line is wrapped for; a narrower one gets each line as it is.
pub const MIN_WRAP_WIDTH: usize = 2;

/// Why `--start-cursor`/`--end-cursor` and the typed cursor flags are refused together, in SQLBuild's words.
pub const CURSOR_FLAGS_MIXED: &str =
    "--start-cursor/--end-cursor cannot be combined with the -ts or -int cursor flags";