Re: libpq CREATE DATABASE operation from multiple treads

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: libpq CREATE DATABASE operation from multiple treads
Дата
Msg-id 2624732.1602189148@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: libpq CREATE DATABASE operation from multiple treads  (p.sun.fun@gmail.com)
Список pgsql-sql
p.sun.fun@gmail.com writes:
> Thanks for the quick response. In the function that I execute in each
> thread, I create a new PGconn at the beginning. I expect that every
> function caller (thread) should use a unique PGconn. I would not expect
> that PGconn can be shared between threads. The documentation explicitly
> says that.

In that case you need to probe a little deeper.  What error message(s)
are you getting?  Is there anything relevant in the server's log?

            regards, tom lane



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

Предыдущее
От: p.sun.fun@gmail.com
Дата:
Сообщение: Re: libpq CREATE DATABASE operation from multiple treads
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: libpq CREATE DATABASE operation from multiple treads