Thread: Copy fails

Copy fails

From
"Abraham, Danny"
Date:
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

From
Craig Ringer
Date:
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