Postgres sometimes I love you. Sometimes I hate you.