pull a bug fix from yiisoft in postgres