From: Nick Fankhauser <nickf@ontko.com>
To: Marek Koniew <asf@junisoftex.pl>
To: pgsql-jdbc@postgresql.org
Subject: Re: bug in jdbc
Date: Tue, 28 May 2002 07:08:46 -0500
Message-ID: <NEBBLAAHGLEEPCGOBHDGAEILFAAA.nickf@ontko.com> (raw)
In-Reply-To: <000801c20259$36b26100$14876ad4@juni.gliwice.pl>
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@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org]On Behalf Of Marek Koniew
Sent: Thursday, May 23, 2002 7:56 AM
To: pgsql-jdbc@postgresql.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: nickf@ontko.com, asf@junisoftex.pl
Subject: Re: bug in jdbc
In-Reply-To: <NEBBLAAHGLEEPCGOBHDGAEILFAAA.nickf@ontko.com>
References: <000801c20259$36b26100$14876ad4@juni.gliwice.pl> <NEBBLAAHGLEEPCGOBHDGAEILFAAA.nickf@ontko.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox