updates for postgresql 9.3