Customize how null values are shown.
Section: Formatting and Output Control
Set NULL display
sql
sql
\pset null '[NULL]'Explanation
See summary for usage details.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Formatting and Output Control