Re: Column info without executing query

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Column info without executing query
Date: 2006-07-21 09:20:46
Message-ID: e9q69e$3vc$1@sea.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 21.07.2006 11:12 Volkan YAZICI wrote:
> As Tom mentioned, there's support for this feature in the protocol
> level, but I don't know any API supports this yet.

I think if you run a query like the suggested one (or SELECT ... WHERE
1=2) the JDBC API will provide the necessary information via
ResultSetMetaData

Thomas

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Shoaib Mir 2006-07-21 10:08:22 Re: question for JAVA developer who r using postgres sql as backend
Previous Message Volkan YAZICI 2006-07-21 09:12:10 Re: Column info without executing query