PostgreSQL: updated according to new duda apis

Signed-off-by: swpd <swpdtz@gmail.com>