! PostgreSQL fixes

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>