integrated maxlapshin's complex postgres type literal parser