COPY error

Поиск
Список
Период
Сортировка
От root
Тема COPY error
Дата
Msg-id 374F9334.6AA36FA7@zip.com.au
обсуждение исходный текст
Список pgsql-interfaces
Hi,

I've just installed 6.4.2 on Solaris and tried to use the COPY facility
via the C interface. However my program fails when performing a flush
(within one
of the 'put' API calls).

I've traced the system calls being made by the application (...happens
to be
a java 1.2 app) and noticed  the last few system calls reported include
a series
of failed sends to the backed - error EAGAIN ( 'congested' ?). I've
tried
it with and without the -i flag on the postmaster - same error.
Interesting
thing is when I truss (solaris trace command) the app, it runs okay.
Until
I open a pqsql session on the db and issue a count(*). Then even the
trussed
app barfs.

I'm a pgsql newbie, so any comments on how to keep my application
up & running while its driving the backend (hard) would be much
appreciated.

Thanks in advance.

Craig




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

Предыдущее
От: Trever Adams
Дата:
Сообщение: Backend sent 0x45 type while idle
Следующее
От: "David J. Blackburn"
Дата:
Сообщение: subscribe