Add support to PostgreSQL 8.1 by using temporary table not COPY ($sql), this requires coercing some strings::text, delete samplers from METRICS_COMMANDS that do not work in PG81 and avoid column pg_stat_activity.waiting for PG81. Thanks to kenstir for the patch.