PostgreSQL adapter using brianc's pg