This commit brings the Postgres provider up to "new" standards for error wrapping and nested structure definitions.