added run support for pgsql