gogits/gogs — pull request #142 by tsigo (2014-04-29 21:38:42+00:00)
Title: Install: Set the default host string based on database type

I can never remember the default Postgres port. This change will update the
default `host` field's value depending on the database backend selected. It
will not change the value if the user has changed it from the default.