Re: Import: I need help
От | Dave Page |
---|---|
Тема | Re: Import: I need help |
Дата | |
Msg-id | 937d27e10902130143l68caf6ew68f54daf26a8c167@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Import: I need help (Quan Zongliang <quanzongliang@gmail.com>) |
Список | pgadmin-hackers |
On Fri, Feb 13, 2009 at 9:21 AM, Quan Zongliang <quanzongliang@gmail.com> wrote: > And more one question: > I think the import work should get a new PGconn instance before it starts. > in document: http://www.postgresql.org/docs/8.3/static/libpq-copy.html said: > It is not possible to execute other SQL commands using the same connection > while the COPY operation is in progress. > > How about the INSERT command? > When them start work within a new transaction. It seems to fall into same situation. Yes, - you should certainly use a new connection to avoid any conflict with the main browser. What would be really cool (later, not now) would be to divide the workload amongst a user-defined number of parallel connections. -- Dave Page EnterpriseDB UK: http://www.enterprisedb.com
В списке pgadmin-hackers по дате отправления: