Expand description
CLI display traits for printing query results, table descriptors, and database info to stdout.
A display write is best-effort: the command’s outcome does not depend on
whether the terminal accepted the bytes, so a failed write is reported
through tracing via report_write_failure and the caller continues.
A closed downstream pipe is not reported at all — with SIGPIPE ignored
every later write would fail the same way and flood the log for a reader
that has already gone away. Every stdio display sink in the infra layer
routes its failures through that one helper.
Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.