Re: Strange error: No such function 'pg_encoding_to_char' with the specified attributes - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: Strange error: No such function 'pg_encoding_to_char' with the specified attributes
Date
Msg-id 13571.1014065350@sss.pgh.pa.us
Whole thread Raw
In response to Strange error: No such function 'pg_encoding_to_char' with the specified attributes  (Graham Leggett <minfrin@sharp.fm>)
List pgsql-jdbc
Graham Leggett <minfrin@sharp.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

pgsql-jdbc by date:

Previous
From: Marc Lavergne
Date:
Subject: Re: JDBC + PostgreSQL + LargeObjects
Next
From: "Dave Cramer"
Date:
Subject: Re: java.sql.SQLException, message FATAL 1: This connection has been terminated by the administrator