As of rMW7197f32c82b468d83da0aed239ba44d5435816c3, you cannot install using PostgreSQL, because it automatically wraps the "CREATE DATABASE" command into a transaction block, which PostgreSQL does not support.
Based on comments in includes/db/DatabaseMysql.php, it seems like doQuery is supposed to be a way to bypass this, but I haven't been able to make it work.