RE: ResultSetMetaData problems (getColumnType() and -TypeName)

From: Bob Kline <bkline(at)rksystems(dot)com>
To: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
Cc: 'Þórhallur Hálfdánarson' <tolli(at)margmidlun(dot)is>, "'pgsql-interfaces(at)postgresql(dot)org'" <pgsql-interfaces(at)postgresql(dot)org>
Subject: RE: ResultSetMetaData problems (getColumnType() and -TypeName)
Date: 2000-07-19 14:53:45
Message-ID: Pine.LNX.4.10.10007191050390.25722-100000@rksystems.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Wed, 19 Jul 2000, Peter Mount wrote:

> Hmmm, I'll have to check the spec. This does sound like a special
> case senario - should a ResultSetMetaData object be returned on an
> empty ResultSet? Should an SQLException be thrown instead?

Sure. The client still needs to be able to print column headers even if
no data rows come back.

--
Bob Kline
mailto:bkline(at)rksystems(dot)com
http://www.rksystems.com

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Mount 2000-07-19 15:00:45 RE: ResultSetMetaData problems (getColumnType() and -TypeName)
Previous Message Peter Mount 2000-07-19 14:10:39 RE: ResultSetMetaData problems (getColumnType() and -TypeName)