Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group