From: Maciek Sakrejda <msakrejda@truviso.com>
To: Leonardo F <m_lists@yahoo.it>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Problem with copyIn(String sql, Reader from)
Date: Thu, 8 Apr 2010 08:14:47 -0700
Message-ID: <q2s895e58dd1004080814za04360afw8e8fc1ca49a26a99@mail.gmail.com> (raw)
In-Reply-To: <151556.7059.qm@web29010.mail.ird.yahoo.com>
References: <234987.48841.qm@web29001.mail.ird.yahoo.com>
<151556.7059.qm@web29010.mail.ird.yahoo.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: msakrejda@truviso.com, m_lists@yahoo.it
Subject: Re: Problem with copyIn(String sql, Reader from)
In-Reply-To: <q2s895e58dd1004080814za04360afw8e8fc1ca49a26a99@mail.gmail.com>
References: <234987.48841.qm@web29001.mail.ird.yahoo.com> <151556.7059.qm@web29010.mail.ird.yahoo.com> <q2s895e58dd1004080814za04360afw8e8fc1ca49a26a99@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox