changed back to 'pg' from sql3