| От | Andrew Sullivan |
|---|---|
| Тема | Re: BEGIN strange behaviour |
| Дата | |
| Msg-id | 20071122132825.GN21682@crankycanuck.ca обсуждение исходный текст |
| Ответ на | BEGIN strange behaviour (luca.ciciriello@email.it) |
| Список | pgsql-general |
On Thu, Nov 22, 2007 at 02:10:49PM +0100, luca.ciciriello@email.it wrote: > I've sperimented a strange behaviour using the command BEGIN and COMMIT in a > multi-threaded Linux environment. > In one of the two thread I use I've got the following message after > PQexec(myconn, "BEGIN;"); Uh, are your two threads using one connection? That's never safe. > The same commands (inside the same code) runs fine in Windows and in MacOS > X. If you're using one connection and two threads, this is some accident of the client, and nothing more. A -- Andrew Sullivan Old sigs will return after re-constitution of blue smoke
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера