PostgreSQL: add abort handling

Signed-off-by: swpd <swpdtz@gmail.com>
PostgreSQL: add new methods

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

Signed-off-by: swpd <swpdtz@gmail.com>
PostgreSQL: add util module to Makefile

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

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