rollback doubt and connection to remoteDB

Поиск
Список
Период
Сортировка
От uanacho
Тема rollback doubt and connection to remoteDB
Дата
Msg-id CAPbGv0y+Am9FMz3VO=DdCo5Ni+xALHfJh8A-1KM72JTBR0dRNg@mail.gmail.com
обсуждение исходный текст
Ответы Re: rollback doubt and connection to remoteDB  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-general
hi, some days ago I have a problem I want to solve.

The situation is the following:

I have a connection to a remote DB (with it's different from mine, of course).
The querys I do are between sql-transactions

1 - Whate happens If during executing a query my pc loose the network connection? what happens with the rollback?

Due to this time my pc that begun the query doesn't have the possibility to invoke the rollback to the remote DB and cannot "clean" that DB

2 - Does exists any mechanism to do on the remote DB, or even a timeout that if that timeout elapsed without any query from my pc, invoke any trigger o event to "clean" the remote DB?

Thanks for your answers and if my question isn't clear, let me know

P.S: the postgres version I use is 8.2.3

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Sort Method: external merge
Следующее
От: "Massa, Harald Armin"
Дата:
Сообщение: access to lexems or access to parsed elements