Re: Piping CSV data to psql when executing COPY .. FROM STDIN (Solved)

Поиск
Список
Период
Сортировка
От Sam Mason
Тема Re: Piping CSV data to psql when executing COPY .. FROM STDIN (Solved)
Дата
Msg-id 20081029144826.GZ2459@frubble.xen.chris-lamb.co.uk
обсуждение исходный текст
Ответ на Re: Piping CSV data to psql when executing COPY .. FROM STDIN (Solved)  (Allan Kamau <allank@sanbi.ac.za>)
Список pgsql-general
On Wed, Oct 29, 2008 at 12:11:43PM +0200, Allan Kamau wrote:
> I am however unable to do the same successfully (the Java code simply
> hangs, probably as a result of the second psql not getting the input to
> it) from Java code using objects of ProcessBuilder and Process.

Why don't you use the JDBC driver?  You wouldn't have to worry about
file descriptors blocking at all that way.


  Sam

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [Help] Config Failure on Mac OSX: psqlodbc-08.03.0300
Следующее
От: Raymond O'Donnell
Дата:
Сообщение: Re: Replication with slony-I