============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Alex Turner
Your email address : aturner@maaco.com
Category : runtime: front-end: Java
Severity : serious
Summary: JDBC Fubaration
System Configuration
--------------------
Operating System : Linux 2.0.36 glibc2.07-29 Blackdown JDK1.1.7 v1a, RedHat 5.2
PostgreSQL version : 6.4
Compiler used : gcc/egcs
Hardware:
---------
Versions of other tools:
------------------------
latest
--------------------------------------------------------------------------
Problem Description:
--------------------
When calling getTables() method if DatabaseMetaData it throws an SQLException:
java.sql.SQLException: ERROR: parser: parse error at or near ")"
java.sql.SQLException: ERROR: parser: parse error at or near ")"
at postgresql.Connection.ExecSQL(Connection.java:712)
at postgresql.DatabaseMetaData.getTables(DatabaseMetaData.java:1666)
at JDBCShell.JDBCShell.makeConnection(JDBCShell.java:120)
at JDBCShell.ConnectMenuListener.actionPerformed(ConnectMenuListener.java:47)
at java.awt.Button.processActionEvent(Button.java:256)
at java.awt.Button.processEvent(Button.java:229)
at java.awt.Component.dispatchEventImpl(Component.java:1809)
at java.awt.Component.dispatchEvent(Component.java:1741)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:79)
--------------------------------------------------------------------------
Test Case:
----------
Make a small database and call getTables() I would guess.
--------------------------------------------------------------------------
Solution:
---------
--------------------------------------------------------------------------