PostgreSQL enables customizations through its hook system that would require extensive patching of any other RDBMS. Walking out of this talk, you will be able to create your own.