PostreSQL compatibility, fixes #2666