CAST ... DEFAULT ON ERROR
CAST with DEFAULT ... ON CONVERSION ERROR built on soft error handling.
Versions
- PostgreSQL 20 · worked-on · new · major
- PostgreSQL 19 · shipped · new · major · 5 commits · +456 / -200 lines
- PostgreSQL 16 · worked-on · new · major
Threads
- CAST(... ON DEFAULT) - WIP build on top of Error-Safe User Functions
- [PATCH] Fix wrong argument to SOFT_ERROR_OCCURRED in timestamptz_date
- Refactoring: Use soft error reporting for *_opt_overflow functions of date/timestamp
- Refactoring: Use soft error reporting for *_opt_error functions
- Suggestion: optionally return default value instead of error on failed cast