From: | jonathan(dot)lister(at)vaisala(dot)com |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Cc: | paree(at)LEXUM(dot)UMontreal(dot)CA |
Subject: | Re: Is there a size limit on setBinaryStream? |
Date: | 2004-11-27 14:07:15 |
Message-ID: | 0077BA604D38D311918B00508B44425802AAEA36@birsrv01.vaisala.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Thanks for good suggestion Eric, code modified to:
if (f2.length() < Integer.MAX_VALUE)
{
.. do insert
}
but my files are smaller than MAX_SIZE, e.g.
FileSize: 5629061 Integer.MAX_SIZE: 2147483647
and still setBinaryStream just goes to sleep. Nothing obvious in the
postgres server log either.
-----Original Message-----
From: Éric Paré [mailto:paree(at)LEXUM(dot)UMontreal(dot)CA]
Sent: 27 November 2004 13:57
To: jonathan(dot)lister(at)vaisala(dot)com
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [JDBC] Is there a size limit on setBinaryStream?
Check to see if f2.length() is larger than Integer.MAX_SIZE with your
big file.
--
Éric Paré for/pour LexUM
Université de Montréal
Centre de recherche en droit public
C.P. 6128, succ. Centre-ville
Montréal (Qc) Canada H3C 3J7
+1 514-343-6111 #0873
paree(at)lexum(dot)umontreal(dot)ca
From | Date | Subject | |
---|---|---|---|
Next Message | Oliver Jowett | 2004-11-28 12:39:40 | Re: Is there a size limit on setBinaryStream? |
Previous Message | Éric Paré | 2004-11-27 13:56:37 | Re: Is there a size limit on setBinaryStream? |