Copy fails

Поиск
Список
Период
Сортировка
Искать

Copy fails

От:
"Abraham, Danny" <danny_abraham@bmc.com>
Дата:
I am loading a huge file using C, STDIN

The program fails immediately on "canceling statement due to statement
timeout"

Any idea?

Thanks

Danny 

Re: Copy fails

От:
Craig Ringer <craig@postnewspapers.com.au>
Дата:
Abraham, Danny wrote:
> I am loading a huge file using C, STDIN

Using C?

Have you written a C program using libpq to load some data, which it
reads from its stdin?

Or do you mean COPY FROM STDIN ?

Something else?

Perhaps if you provided a clearer and more complete explanation of your
problem you might get a more useful answer.

> The program fails immediately on "canceling statement due to statement
> timeout"

Do you have a statement timeout set in postgresql.conf ?

--
Craig Ringer
FAQ