Re: tracking scripts...

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: tracking scripts...
Дата
Msg-id 5294E75B.1070307@hogranch.com
обсуждение исходный текст
Ответ на Re: tracking scripts...  (Joey Quinn <bjquinniii@gmail.com>)
Ответы Re: tracking scripts...
Re: tracking scripts...
Список pgsql-general
On 11/26/2013 9:24 AM, Joey Quinn wrote:
> When I ran that command (select * from pg_stat_activity"), it returned
> the first six lines of the scripts. I'm fairly sure it has gotten a
> bit beyond that (been running over 24 hours now, and the size has
> increased about 300 GB). Am I missing something for it to tell me what
> the last line processed was?

that means your GUI lobbed the entire file at postgres in a single
PQexec call, so its all being executed as a single statement.

psql -f "filename.sql" dbname   would have processed the queries one at
a time.


--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



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

Предыдущее
От: Jesus Rafael Sanchez Medrano
Дата:
Сообщение: Any advantage of using SSL with a certificate of authority?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Any advantage of using SSL with a certificate of authority?