From: | Barry Lind <barry(at)xythos(dot)com> |
---|---|
To: | youenn(dot)ballouard2(at)etud(dot)univ-ubs(dot)fr |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Trouble with pg_encoding_to_char |
Date: | 2002-05-18 01:54:32 |
Message-ID: | 3CE5B458.9060203@xythos.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
It means you are running a jdbc driver from 7.2 (perhaps 7.1, but I
think 7.2) against a 6.5 database. While we try to make the jdbc driver
backwardly compatable, we don't go back that far. You really should
consider upgrading your database to something remotely current.
thanks,
--Barry
youenn(dot)ballouard2(at)etud(dot)univ-ubs(dot)fr wrote:
> 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/
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
From | Date | Subject | |
---|---|---|---|
Next Message | Manuel Sugawara | 2002-05-18 04:34:42 | Redhat 7.3 time manipulation bug |
Previous Message | Thomas Lockhart | 2002-05-18 01:23:38 | Re: Psql 7.2.1 Regress tests failed on RedHat 7.3 |