Switch to using PostgreSQL instead of MySQL, with just some stubs