Re: problem with PQsendQuery/PQgetResult and COPY FROM statement - Mailing list pgsql-hackers

From Tom Lane
Subject Re: problem with PQsendQuery/PQgetResult and COPY FROM statement
Date
Msg-id 12549.1148565818@sss.pgh.pa.us
Whole thread Raw
In response to Re: problem with PQsendQuery/PQgetResult and COPY FROM statement  ("Massimiliano Poletto" <max.poletto@gmail.com>)
List pgsql-hackers
"Massimiliano Poletto" <max.poletto@gmail.com> writes:
>> If you call it exactly once, it'll say that exactly once.  If you keep
>> calling it "millions of times", it'll keep saying that.

> OK.  I wonder, though, why at some point it does in fact return 0.

Probably because you ran out of memory to create new PGresult structs.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: XLogArchivingActive
Next
From: Tom Lane
Date:
Subject: Re: file-locking and postmaster.pid