Re: Connection question
От | Jonathan Tripathy |
---|---|
Тема | Re: Connection question |
Дата | |
Msg-id | 4C7E7035.6090504@abpni.co.uk обсуждение исходный текст |
Ответ на | Connection question ("Bayless Kirtley" <bkirt@cox.net>) |
Список | pgsql-general |
On 01/09/10 16:22, Bayless Kirtley wrote:
I have a two-user point-of-sale application on Windows XP PRO. The DB runson the cash register. The second user is a manager's computer. They areconnected through a wired router which is also connected to an internetcable modem. The manager's computer just checks statistics on the DB andmaintains a connection all the time. The cash register application does notdo any network operations and is not even aware of the network.About twice per month, it is necessary to reset the modem and router. This,of course, loses the manager's connection to the DB. The problem is, it alsoseems to break the connection at the cash register. The next time it tries torecord a transaction, it gets the error "Unable to write to the backend" orsomething very close to that. The DB itself seems fine as we can restart thecash register and all is well.Anyone have any idea why this happens? We are running PostgreSQL 8.3.1-1and the applications are Java 1.6.14.Bayless
It would be a good option to replace your entire system. However, if you don't wish to do that, just simply connect the "manager's pc" and cash register with a network switch, which is separate from the router. So when your router restarts, the switch won't do down, so the 2 machines remain connected.
That is only a work around though, and ultimately you'd want a better solution
Cheers
В списке pgsql-general по дате отправления: