Re: FYI: porting Copy API to 8.x

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: FYI: porting Copy API to 8.x
Дата
Msg-id 66D125B2-3C81-467E-BC02-D784ACDD5499@fastcrypt.com
обсуждение исходный текст
Ответ на FYI: porting Copy API to 8.x  ("Kalle Hallivuori" <kato@iki.fi>)
Ответы Re: FYI: porting Copy API to 8.x
Список pgsql-jdbc
Kalle,

The reason that the patch has never been officially accepted is
because it creates two protocol paths.

To do this correctly you need to add the copy functionality into the
current protocol handler as opposed to having a separate protocol
handler for copy.

Dave
On 30-May-07, at 8:29 AM, Kalle Hallivuori wrote:

> Hi!
>
> I'm porting the Copy API to 8.x series of pgjdbc. You may expect a
> patch at the commit list this week.
>
> I've copied Chris Jurka's patch for the 7.x series from here:
> http://archives.postgresql.org/pgsql-jdbc/2003-12/msg00186.php
>
> I'm just modifying that old patch to fit current implementation.
> Suggestions for enhancements or alternative approaches are welcome so
> long as they are sufficiently trivial to implement :)
>
> Should this patched patch get accepted for inclusion it might make it
> into official distribution for 8.4. Otherwise (and meanwhile) people
> will have to keep building their own drivers in order to be able to
> use COPY TO/FROM STDIN.
>
> --
> Kalle Hallivuori +358-41-5053073 http://korpiq.iki.fi/
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
>               http://www.postgresql.org/docs/faq


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

Предыдущее
От: "Kalle Hallivuori"
Дата:
Сообщение: FYI: porting Copy API to 8.x
Следующее
От: "Jo Candace"
Дата:
Сообщение: Problems with a very big string