Experimental COPY Helper class

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Experimental COPY Helper class
Дата
Msg-id 20040624184407.7278de00@kingfisher.intern.logi-track.com
обсуждение исходный текст
Ответ на Re: COPY Support Patch - actualized version?  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Hi @all,

I attached a little utility class that may be of use for all those "COPY
table FROM" users.

It may be used with a ByteArrayOutputStream when the amount of data is
small enough to get buffered in RAM, with a PipedOutputStream for fully
featured Piping of Data (when your pgjdbc version supports it) or even
with a FileOutputStream when your Java App just creates feed for psql.

Currently, it's rather untested and not well commented, but this will
improve, especially when lots of constructive feedback reaches my inbox
:-)

Happy Hacking,
Markus Schaber

--
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios@logi-track.com | www.logi-track.com

Вложения

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: [HACKERS] JDBC prepared statements: actually not server
Следующее
От: Markus Schaber
Дата:
Сообщение: Fw: COPY Support Patch - actualized version?