new class layout to support COPY protocal

Поиск
Список
Период
Сортировка
От Michael Adler
Тема new class layout to support COPY protocal
Дата
Msg-id Pine.NEB.4.53.0302070946020.20145@reva.sixgirls.org
обсуждение исходный текст
Ответ на Re: emacs behave like pgjindent?  (Dave Cramer <Dave@micro-automation.net>)
Список pgsql-jdbc
I'm working on supporting the COPY protocol (again). Unless people are
unsatisfied with the largeobject way of accessing pg-specific
functionality, I'll adopt their way of doing things. For example:

org.postgresql.copy.CopyManager copyMgr;
copyMgr = ((org.postgresql.PGConnection)con).getCopyAPI();
copyMgr.copyOut("tablename", outputStream);
copyMgr.copyIn("tablename", inputStream);

I have working code with unit tests, but it still needs polishing. I
simply wanted to know if this class layout would be met with approval.

- Mike Adler


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

Предыдущее
От: Michael Adler
Дата:
Сообщение: Re: emacs behave like pgjindent?
Следующее
От: Richard Welty
Дата:
Сообщение: Re: examples of SQL Arrays and jdbc?