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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Graham Leggett <minfrin(at)sharp(dot)fm>
Cc: Postgresql JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Strange error: No such function 'pg_encoding_to_char' with the specified attributes
Date: 2002-02-18 20:49:10
Message-ID: 13571.1014065350@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Graham Leggett <minfrin(at)sharp(dot)fm> writes:
> 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

You must be running a 6.5 or older backend. It's *way* past time to
update ...

(BTW, doesn't JDBC test the backend version? Shouldn't it refuse to run
if the backend is too old?)

regards, tom lane

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Paulo Delgado 2002-02-18 21:50:08 Re: JDBC + PostgreSQL + LargeObjects
Previous Message Marc Lavergne 2002-02-18 20:37:59 Re: JDBC + PostgreSQL + LargeObjects