Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id DB168475A12 for ; Tue, 28 May 2002 08:10:50 -0400 (EDT) Received: from shire.ontko.com (shire.ontko.com [199.164.165.1]) by postgresql.org (Postfix) with ESMTP id EC3B5475A0D for ; Tue, 28 May 2002 08:10:48 -0400 (EDT) Received: from nick (bilbo.ontko.com [199.164.165.101]) by shire.ontko.com (8.9.3/8.9.3/Debian 8.9.3-21) with SMTP id HAA01484; Tue, 28 May 2002 07:10:26 -0500 X-Authentication-Warning: shire.ontko.com: Host bilbo.ontko.com [199.164.165.101] claimed to be nick Reply-To: From: "Nick Fankhauser" To: "Marek Koniew" , Subject: Re: bug in jdbc Date: Tue, 28 May 2002 07:08:46 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal In-reply-to: <000801c20259$36b26100$14876ad4@juni.gliwice.pl> X-Archive-Number: 200205/111 X-Sequence-Number: 3935 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