Some tests on top of PostgreSQL to use a C trigger to redirect insertions on a parent partitioned table to the right child, and how it performs compared to other methods (like using PL/pgSQL).