Re: Problem using COPY command to load data

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problem using COPY command to load data
Дата
Msg-id 10885.1226431518@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Problem using COPY command to load data  (Glen Beane <Glen.Beane@jax.org>)
Ответы Re: Problem using COPY command to load data  (Glen Beane <Glen.Beane@jax.org>)
Re: Problem using COPY command to load data  (Glen Beane <Glen.Beane@jax.org>)
Список pgsql-general
Glen Beane <Glen.Beane@jax.org> writes:
> I am using the copy_from command from the python psycopg2 library to do some
> bulk data loading of a postgres database.  This had been working OK, until
> my script barfed because I was being careless, and it seemed to leave the
> database in a strange state that I can't recover from.

What PG version is this exactly?  What does pg_stat_activity show?  Is
there any indication of un-granted locks in pg_locks?

The most direct evidence about why it's stuck would probably be had by
attaching to the backend process with gdb and getting a stack trace.

            regards, tom lane

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

Предыдущее
От: Glen Beane
Дата:
Сообщение: Problem using COPY command to load data
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SHMMAX and shared_bufffers