From: | John DeSoi <desoi(at)pgedit(dot)com> |
---|---|
To: | Reno Bladergroen <reno(dot)bladergroen(at)telenet(dot)be> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: postgresql installation problems |
Date: | 2009-11-14 02:28:04 |
Message-ID: | 3F5A8A89-3A35-40E2-A607-FB7B67DC32FC@pgedit.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Nov 13, 2009, at 8:05 PM, Reno Bladergroen wrote:
> Probably the following might have been asked before, but I've been searching the web for the following problem for 2 days already:
> I need to install an end-user application which demands 2 postgresql users each owning its own database.
> One user+database is used for a data management system (I call this one GUS), the other for the front-end application (a data-analysis program), I call that QPCR.
> So I installed postgreSQL according to the documentation. A server is running on port 5432 now.
> Now the question: when i try to install the application, the installation demands to set the port for each user separately. When i try to use 5432 for both databases an error pops up with the notification that that port is already used by QPCR and therefore can't be used by GUS. How do I set a port for each user separately?? Do I need to install two clusters (and how do I do that?)
The requirement that each database use a different port is rather strange. A single cluster (which uses one port) can have a virtually unlimited number of users and databases. So yes, you will have to install two clusters, or (depending on your platform) there is probably some easy port forwarding trick where you can have one cluster but two possible ports. Installing two clusters means running initdb for two different directories and configuring them for different ports.
John DeSoi, Ph.D.
From | Date | Subject | |
---|---|---|---|
Next Message | majordomo-owner | 2009-11-14 03:20:36 | 3A37-A32F-9E8B : REMINDER from GLOBAL |
Previous Message | Reno Bladergroen | 2009-11-14 01:05:36 | postgresql installation problems |