added postgresql support

Signed-off-by: krishnan <krishnan@freshdesk.com>