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 runs
on the cash register. The second user is a manager's computer. They are
connected through a wired router which is also connected to an internet
cable modem. The manager's computer just checks statistics on the DB and
maintains a connection all the time. The cash register application does not
do 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 also
seems to break the connection at the cash register. The next time it tries to
record a transaction, it gets the error "Unable to write to the backend" or
something very close to that. The DB itself seems fine as we can restart the
cash register and all is well.
 
Anyone have any idea why this happens? We are running PostgreSQL 8.3.1-1
and 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 по дате отправления:

Предыдущее
От: "Bayless Kirtley"
Дата:
Сообщение: Connection question
Следующее
От: Ivan Voras
Дата:
Сообщение: Re: Table update problem works on MySQL but not Postgres