db_postgres: fix doxygen errors, small extensions and cleanups in comments