Update top report to support postgres