[server] Add PostgreSQL support.
[client] Fix a bug of displaying repo.