My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 341: gsql \d fails on H2
  Back to list
Status:  Released
Owner:  ----
Closed:  Oct 2012


Sign in to add a comment
 
Reported by sop+code@google.com, Nov 17, 2009
Affected Version: 2.0.25
Environment: H2 database

What steps will reproduce the problem?
1. Start gsql (e.g. using local war)
2. Enter "\d"

What is the expected output? What do you see instead?

For "\d", instead of getting the tables in the database we get an obtuse 
error from somewhere within H2.

For "\d accounts", instead of getting the columns in the table we get an
empty listing.

Please provide any additional information below.

It appears to be the case that H2 does not implement the JDBC MetaData
APIs, it only has them stubbed out.  Consequently we are unable to do a
query over their data dictionary without writing H2 specific query code.
Nov 18, 2009
#1 sop+code@google.com
Change Ia7d0cb74ccabc44ed58d13f602ee7f95883d5586
Status: Fixed
Labels: FixedIn-2.0.25
Dec 18, 2009
#2 sop@google.com
(No comment was entered for this change.)
Labels: FixedIn-2.1
Oct 21, 2012
#3 sop@google.com
(No comment was entered for this change.)
Status: Released
Sign in to add a comment

Powered by Google Project Hosting