[postgres] Support prepared statements