From: | Jonathan Tripathy <jonnyt(at)abpni(dot)co(dot)uk> |
---|---|
To: | Bayless Kirtley <bkirt(at)cox(dot)net>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Connection question |
Date: | 2010-09-01 15:24:37 |
Message-ID: | 4C7E7035.6090504@abpni.co.uk |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Ivan Voras | 2010-09-01 15:36:49 | Re: Table update problem works on MySQL but not Postgres |
Previous Message | Bayless Kirtley | 2010-09-01 15:22:20 | Connection question |