db: functions: remove unused pg_version

more than it is unused it checks only for client side libraries version,
which is incorrect.

Change-Id: I5ee352658a00ab7efd935060b002bce96875eda1
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>