Re: BEGIN strange behaviour

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: BEGIN strange behaviour
Дата
Msg-id 20071122132527.GC6113@svana.org
обсуждение исходный текст
Ответ на BEGIN strange behaviour  (luca.ciciriello@email.it)
Список pgsql-general
On Thu, Nov 22, 2007 at 02:10:49PM +0100, luca.ciciriello@email.it wrote:
> Hi All.
> 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;");

You do have different database connections for each thread, right?
Otherwise that's why it's not working...

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Those who make peaceful revolution impossible will make violent revolution inevitable.
>  -- John F Kennedy

Вложения

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

Предыдущее
От: "Sorin N. Ciolofan"
Дата:
Сообщение: backup of postgres scheduled with cron
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: BEGIN strange behaviour