Re: COPY to/from non-local file

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: COPY to/from non-local file
Дата
Msg-id 20070627192548.GE22179@svana.org
обсуждение исходный текст
Ответ на Re: COPY to/from non-local file  (Jaime Silvela <JSilvela@Bear.com>)
Ответы Re: COPY to/from non-local file  (Jaime Silvela <JSilvela@Bear.com>)
Список pgsql-general
On Wed, Jun 27, 2007 at 02:54:05PM -0400, Jaime Silvela wrote:
> The problem is that the getline/readline interface, which does exist for
> Ruby, doesn't seem to work so well, and anyway operates line by line; I
> would have preferred to just hand a file descriptor and be done with it.

Hrm, in what sense doesn't it work well? Line-by-line means
record-by-record. And writing a function to take an fd and do the work
would be straightforward, or do you mean something else?

Do you have any suggestions for improvement?

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: timestamp wiht time zone
Следующее
От: CG
Дата:
Сообщение: Re: How do you handle shared memory corruption issues? (contrib/xml2)