postgres example fixed