I tried to "backport" version 1:1.0.9.dfsg-1 to Sarge, and it fails because it expects PostgreSQL 8.0. As even Unstable does not ship with 8.0, this is an important bug (FTBS). The problem is the following line in apps/app_sql_postgres.c: #include "postgresql/8.0/libpq-fe.h" Thanks