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: (view raw, whole thread or download thread mbox)
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

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-2017 The PostgreSQL Global Development Group