PostgreSQL JDBC: bytea column getMetaData().getColumns().getIn("COLUMN_SIZE") ~ 2GB - Mailing list pgsql-general

From Grace Batumbya
Subject PostgreSQL JDBC: bytea column getMetaData().getColumns().getIn("COLUMN_SIZE") ~ 2GB
Date
Msg-id 4E1C4615.3010909@senecac.on.ca
Whole thread Raw
Responses Re: PostgreSQL JDBC: bytea column getMetaData().getColumns().getIn("COLUMN_SIZE") ~ 2GB
List pgsql-general
Hi there,
I am using postgresql-9.0-801.jdbc3, on postgresql 9.0.4.
On a bytea column, getMetaData().getColumns().getIn("COLUMN_SIZE") returns 2147483647 yet from asking around on #postgresql on irc, the bytea has a limit just less than 1GB.
Why then does jdbc return 2GB instead of 1GB?
--
Grace Batumbya
Research Assistant | Seneca CDOT
Phone: 416-491-5050 x3548
cdot.senecac.on.ca

pgsql-general by date:

Previous
From: Jonathan Barber
Date:
Subject: Re: Slow queries (high duration) and their log entries appearing out-of-order
Next
From: Jon80
Date:
Subject: Re: No suitable driver found for jdbc:postgresql [error]