[ic] Changing PostgreSQL port

Scott Goodman interchange-users@icdevgroup.org
Thu May 22 20:14:01 2003


Roj Niyogi wrote:

> Hi folks:
>
> We'd like to offer Interchange to our hosting customers but have 
> PostgreSQL operating on a port under than the default (5432).  As 
> such, how would I direct Interchange to connect to PostgreSQL on 
> another port like 5433?

All you need to do is change the connection string to something like this:

"dbi:Pg:dbname=your_database;host=your_db_host;port=5433"

Regards,
Scott