SQL_COLORIZE variable

Whether logged SQL carries ANSI colour. Off by default.

Signature:

SQL_COLORIZE: boolean

Remarks

Set SQL_COLORIZE to a positive number to enable. Worth leaving off wherever logs are collected rather than read in a terminal, since the escape sequences end up in the stored line. Independent of SQL_PRETTIFY.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.