Postgres update

Includes changes from N52 wps 3.3.0 upgrade  branch
Yeah I was trying to use Java constants as much as possible. I guess I can go back to using a regular String