At present you can't specify a database server port with Wiki::Toolkit::Store::Database and ::Pg. The attached patches should go some way toward addressing this. I haven't looked at the other flavours of backend, I assume they need similar adjustment too.