Tweaked postgres mixin