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

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: "'Bob Kline'" <bkline(at)rksystems(dot)com>, 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 15:00:45
Message-ID: 1B3D5E532D18D311861A00600865478CF1B111@exchange1.nt.maidstone.gov.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

That's true. Hmmm, there's been a few strange problems appearing in the last
few days...

--
Peter Mount
Enterprise Support Mushroom
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council

-----Original Message-----
From: Bob Kline [mailto:bkline(at)rksystems(dot)com]
Sent: Wednesday, July 19, 2000 3:54 PM
To: Peter Mount
Cc: 'Þórhallur Hálfdánarson'; 'pgsql-interfaces(at)postgresql(dot)org'
Subject: RE: [INTERFACES] ResultSetMetaData problems (getColumnType()
and -TypeName)

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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Max Khon 2000-07-19 15:12:46 ODBC driver and referential integrity
Previous Message Bob Kline 2000-07-19 14:53:45 RE: ResultSetMetaData problems (getColumnType() and -TypeName)