|
Re: COPY support in pgsql-jdbc driver: msg#00235db.postgresql.jdbc
Michael, I is great to hear that you plan to continue working on this. I look forward to your contribution. I have some additional comments below. Michael Adler wrote: Thanks for your response Barry. I've been working on this as time allows.OK, I wasn't very explicit in my response. Here is an example: if (Driver.logDebug) Driver.debug("your debug message here"); It is a static variable named logDebug and not a method named isDebug(). Debug output can be enabled by adding ?loglevel=2 to the jdbc URL(eg. jdbc:postgresql://localhost:5432/pg?loglevel=2) (or you can use loglevel=1 but that only prints out Info messages of which there currently is only one - the driver version). This information hasn't yet made it into the documentation, but it will before 7.3 is released. I am not really sure about these test failures.7) The testcase should be done using junit and added to the tests under There are multiple ways this could be done. I don't mean to suggest any one is prefered at this point, but I believe this should be done. Doing it later in the process seems very reasonable.Reading one byte at a time from the stream will be slow, that is why it thanks, --Barry ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Posgresql - openoffice-JDBC: 00235, Timothy Reaves |
|---|---|
| Next by Date: | Re: JDBC parse error: 00235, John Metz |
| Previous by Thread: | Re: COPY support in pgsql-jdbc driveri: 00235, Michael Adler |
| Next by Thread: | make check failures in current cvs: 00235, Michael Adler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |