! Fix a couple remaining issues with PostgreSQL

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