Re: Problem with copyIn(String sql, Reader from)

From: Maciek Sakrejda <msakrejda(at)truviso(dot)com>
To: Leonardo F <m_lists(at)yahoo(dot)it>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problem with copyIn(String sql, Reader from)
Date: 2010-04-08 15:14:47
Message-ID: q2s895e58dd1004080814za04360afw8e8fc1ca49a26a99@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I think you're (sort of) right. With the current approach, I think we
risk writing garbage to the COPY when we reach the end of the Reader.
Your proposed solution should work.
---
Maciek Sakrejda | Software Engineer | Truviso

1065 E. Hillsdale Blvd., Suite 230
Foster City, CA 94404
(650) 242-3500 Main
(650) 242-3501 F
www.truviso.com

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2010-04-08 16:18:39 Re: Problem with copyIn(String sql, Reader from)
Previous Message Leonardo F 2010-04-08 13:34:13 Re: Problem with copyIn(String sql, Reader from)