From: | "Nick Fankhauser" <nickf(at)ontko(dot)com> |
---|---|
To: | "Marek Koniew" <asf(at)junisoftex(dot)pl>, <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: bug in jdbc |
Date: | 2002-05-28 12:08:46 |
Message-ID: | NEBBLAAHGLEEPCGOBHDGAEILFAAA.nickf@ontko.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Marek-
This appears to be a normal message from the driver reporting an error in
the submitted SQL statement. The "Something unusual" part of the message is
a bit misleading, but the rest of the message points pretty clearly to a
problem with the function pg_encoding_to_char. What happens if you try to
execute the same statement via psql?
-Nick
-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org]On Behalf Of Marek Koniew
Sent: Thursday, May 23, 2002 7:56 AM
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [JDBC] bug in jdbc
i got the buggy driver from http://jdbc.postgresql.org/download/pgjdbc2.jar
jdbc7.0-1.2 driver working OK
there is exception :
Something unusual has occured to cause the driver to fail. Please report
this exception: Exception: java.sql.SQLException: ERROR: No such function
'pg_encoding_to_char' with the specified attributes
Stack Trace:
java.sql.SQLException: ERROR: No such function 'pg_encoding_to_char' with
the specified attributes
at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:94)
at org.postgresql.Connection.ExecSQL(Connection.java:398)
at org.postgresql.Connection.ExecSQL(Connection.java:381)
at org.postgresql.Connection.openConnection(Connection.java:314)
at org.postgresql.Driver.connect(Driver.java:149)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at board.userbase(board.java)
at board.doPost(board.java)
at board.doGet(board.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:271)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:311)
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
at org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java:484)
End of Stack Trace
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Cramer | 2002-05-28 12:11:20 | Re: bug in jdbc |
Previous Message | Marek Koniew | 2002-05-23 12:56:06 | bug in jdbc |