Sorry, it is my mistake. It is wrong data type.
Thanks
Leon Do
> -----Original Message-----
> From: pgsql-jdbc-owner@postgresql.org
> [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Kris Jurka
> Sent: Sunday, January 21, 2007 12:10 AM
> To: Do, Leon (Leon)
> Cc: PostgreSQL JDBC
> Subject: Re: [JDBC] Max size for bytea type
>
>
>
> On Fri, 19 Jan 2007, Do, Leon (Leon) wrote:
>
> > Hello,
> >
>
> When starting a new thread, please don't reply to some other
> random message on the list.
>
> > Can someone explain why I cann't get bytea data of more
> than 1998 bytes?
> > Below 1998 size is ok but I got exception if the size is at
> and above
> > 1998. I used jdbc-8.1-407.jdbc3.jar.
> >
>
> Could you provide a complete test case. What you've written
> below isn't entirely clear about what's going on. I believe
> bytea decoding is done correctly. Perhaps you are doing
> something like calling getBinaryStream on a column that is not bytea?
>
> Kris Jurka
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>