pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hannu Krosing <hannu@2ndQuadrant.com>
To: DGPickett <DGPickett@aol.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: ResultSetMetaData.getColumnDisplaySize returns 2147483647 ?
Date: Tue, 03 Mar 2009 00:17:28 +0200
Message-ID: <1236032248.7132.5.camel@huvostro> (raw)
In-Reply-To: <8b19844a-98d4-4967-9426-3ddeec6f8559@a39g2000yqc.googlegroups.com>
References: <095cddc9-bca7-41a5-84a8-0faca7adadc2@f11g2000vbf.googlegroups.com>
	<Pine.BSO.4.64.0902251858180.2899@leary.csoft.net>
	<be6ffbdc-6190-4f2b-8e2e-b45fa9e5a596@r27g2000vbp.googlegroups.com>
	<Pine.BSO.4.64.0902261310090.24291@leary.csoft.net>
	<3c7f373b-77e6-4860-984e-101af492abe3@f37g2000vbf.googlegroups.com>
	<Pine.BSO.4.64.0902261553090.26397@leary.csoft.net>
	<8b19844a-98d4-4967-9426-3ddeec6f8559@a39g2000yqc.googlegroups.com>

On Fri, 2009-02-27 at 09:41 -0800, DGPickett wrote:

> Somehow, doing what the real money RDBMS do, the de-facto standard, 

Could you describe, what do they do, especially for cases of really
unknown sizes ?

One solution would be to fetch all data into a buffer and actually
measure the longest field size.

> is
> hard for postgres dudes, or they have more important concerns.  It
> makes the product seem shabby by comparison.  Usually, that is enough
> to motivate frantic coding, to make open source appear just as good.

You are most welcome to "code frantically" :)

PostgreSQL "dudes" in general are not in business of appearing just as
good. Rather we are trying to produce the most advanced database
available, at least for values of "most advanced" that matter to us.

-- 
Hannu Krosing   http://www.2ndQuadrant.com
PostgreSQL Scalability and Availability 
   Services, Consulting and Training




view thread (13+ messages)  latest in thread

Message-ID: <1236032248.7132.5.camel@huvostro>
Permalink:  ../1236032248.7132.5.camel@huvostro/
Also on:    postgresql.org/message-id/1236032248.7132.5.camel@huvostro

 · 

reply

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: hannu@2ndQuadrant.com, DGPickett@aol.com
  Subject: Re: ResultSetMetaData.getColumnDisplaySize returns 2147483647 ?
  In-Reply-To: <1236032248.7132.5.camel@huvostro>
  References: <095cddc9-bca7-41a5-84a8-0faca7adadc2@f11g2000vbf.googlegroups.com> <Pine.BSO.4.64.0902251858180.2899@leary.csoft.net> <be6ffbdc-6190-4f2b-8e2e-b45fa9e5a596@r27g2000vbp.googlegroups.com> <Pine.BSO.4.64.0902261310090.24291@leary.csoft.net> <3c7f373b-77e6-4860-984e-101af492abe3@f37g2000vbf.googlegroups.com> <Pine.BSO.4.64.0902261553090.26397@leary.csoft.net> <8b19844a-98d4-4967-9426-3ddeec6f8559@a39g2000yqc.googlegroups.com> <1236032248.7132.5.camel@huvostro>

* 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