Text Encoding Debacles
summary
Explains PostgreSQL’s text encoding architecture and related OS concepts, shows dangerous edge cases that remain despite UTF-8 prevalence (shared catalogs and views, authentication, file systems, NUL-in-text issues), and presents prototype changes: a stricter model to ensure every text’s encoding is known, improvements to pg_wchar, performance opportunities, and what it would take to support NUL in text.
AI-written summary · about
