Trouble with pg_encoding_to_char - Mailing list pgsql-hackers

From youenn.ballouard2@etud.univ-ubs.fr
Subject Trouble with pg_encoding_to_char
Date
Msg-id 1021622538.3ce4b90a6f4bb@homae.univ-ubs.fr
Whole thread Raw
List pgsql-hackers
Hi,

I've been developing a program with the postgres jdbc 2 driver, jdk-1.3.0 and
postgres 6.5.

When I start my program up it bombs like so:

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)

Does anyone know what any of this means...?

Regards,
Youenn

--------------------------------------------------------------------------------
Université de Bretagne sud                               http://www.univ-ubs.fr/



pgsql-hackers by date:

Previous
From: Manfred Koizar
Date:
Subject: Re: Queries using rules show no rows modified?
Next
From: "Enke, Michael"
Date:
Subject: Re: [BUGS] Bug #659: lower()/upper() bug on