Strange error: No such function 'pg_encoding_to_char' with the specified attributes

From: Graham Leggett <minfrin(at)sharp(dot)fm>
To: Postgresql JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Strange error: No such function 'pg_encoding_to_char' with the specified attributes
Date: 2002-02-18 17:51:58
Message-ID: 3C713F3E.93001835@sharp.fm
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi all,

I've been developing some servlets using the blackdown port of Java
v1.3.1 for LinuxPPC, and the latest postgres jdbc driver (from feb
10th). This works great on my machine.

I've moved the app to an Intel Linux box running IBM Java v1.3.1, and
when I start my servlets 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)
at java.sql.DriverManager.getConnection(DriverManager.java:523)
at java.sql.DriverManager.getConnection(DriverManager.java:183)
at
com.cambrient.pnp.kitchen.mealplanner.MealPlanner.init(MealPlanner.java:43)

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

Regards,
Graham
--
-----------------------------------------
minfrin(at)sharp(dot)fm "There's a moon
over Bourbon Street
tonight..."

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2002-02-18 17:53:56 Re: JDBC3 Sugquestion
Previous Message Barry Lind 2002-02-18 17:44:43 Re: JDBC + PostgreSQL + LargeObjects