new class layout to support COPY protocal

From: Michael Adler <adler(at)glimpser(dot)org>
To: Dave Cramer <Dave(at)micro-automation(dot)net>
Cc: Michael Adler <adler(at)glimpser(dot)org>, "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>, Barry Lind <blind(at)xythos(dot)com>
Subject: new class layout to support COPY protocal
Date: 2003-02-07 15:03:46
Message-ID: Pine.NEB.4.53.0302070946020.20145@reva.sixgirls.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Richard Welty 2003-02-07 16:00:45 Re: examples of SQL Arrays and jdbc?
Previous Message Michael Adler 2003-02-07 14:45:05 Re: emacs behave like pgjindent?