pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <Dave@micro-automation.net>
To: Marek Koniew <asf@junisoftex.pl>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: bug in jdbc
Date: 28 May 2002 08:11:20 -0400
Message-ID: <1022587880.1694.14.camel@inspiron.cramers> (raw)
In-Reply-To: <000801c20259$36b26100$14876ad4@juni.gliwice.pl>
References: <000801c20259$36b26100$14876ad4@juni.gliwice.pl>

I think this is a case of using the jdbc 1.1 driver in a 1.2
environment? There are similiar messages in the archive

Dave
On Thu, 2002-05-23 at 08:56, Marek Koniew wrote:
> 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
> 
> 






view thread (9+ messages)  latest in thread

Message-ID: <1022587880.1694.14.camel@inspiron.cramers>
Permalink:  ../1022587880.1694.14.camel@inspiron.cramers/
Also on:    postgresql.org/message-id/1022587880.1694.14.camel@inspiron.cramers

 · 

reply

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: Dave@micro-automation.net, asf@junisoftex.pl
  Subject: Re: bug in jdbc
  In-Reply-To: <1022587880.1694.14.camel@inspiron.cramers>
  References: <000801c20259$36b26100$14876ad4@juni.gliwice.pl> <1022587880.1694.14.camel@inspiron.cramers>

* 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