PostgreSQL: fix local value uninitialized issue

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