From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Guillaume Smet <guillaume.smet@gmail.com>
Cc: Kevin Wooten <kdubb@me.com>
Cc: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: Re: pgjdbc-ng
Date: Tue, 25 Feb 2014 17:01:20 +0200
Message-ID: <530CB040.2080801@vmware.com> (raw)
In-Reply-To: <CALt0+o_WmM=DCKu0GQ5hGd4dahCoOOqCno5Sm63RsT4CThcBjA@mail.gmail.com>
References: <D661726C-3DFD-41C1-954D-A82FB5379FA5@me.com>
<CALt0+o8_ScdRTfW50CjLoXS=qesBNZm__nZ4tGt-1jCVo9KMfQ@mail.gmail.com>
<CALt0+o_WmM=DCKu0GQ5hGd4dahCoOOqCno5Sm63RsT4CThcBjA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
On 02/25/2014 04:49 PM, Guillaume Smet wrote:
> On Tue, Feb 25, 2014 at 3:20 PM, Guillaume Smet
> <guillaume.smet@gmail.com> wrote:
>> Is PostgreSQL 9.2 a strong requirement or only necessary for advanced
>> features?
>
> Considering I have the following exception at startup:
> [2014-02-25 15:44:27,711] ERROR - ConnectionPool - -
> Unable to create initial connections of pool.
> com.impossibl.postgres.jdbc.PGSQLSimpleException: Connection Error:
> relation "pg_catalog.pg_range" does not exist
> at com.impossibl.postgres.jdbc.ErrorUtils.makeSQLException(ErrorUtils.java:159)
> at com.impossibl.postgres.jdbc.ConnectionUtil.createConnection(ConnectionUtil.java:181)
> 9.2 looks like a strong requirement.
That should be easy to fix. Looking at PGtype, where the query is coming
from, all you need to do is add another version of the query without the
reference to pg_range. The logic for sending a different version of the
query depending on the server version is already there.
- Heikki
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: hlinnakangas@vmware.com, guillaume.smet@gmail.com, kdubb@me.com
Subject: Re: pgjdbc-ng
In-Reply-To: <530CB040.2080801@vmware.com>
References: <D661726C-3DFD-41C1-954D-A82FB5379FA5@me.com> <CALt0+o8_ScdRTfW50CjLoXS=qesBNZm__nZ4tGt-1jCVo9KMfQ@mail.gmail.com> <CALt0+o_WmM=DCKu0GQ5hGd4dahCoOOqCno5Sm63RsT4CThcBjA@mail.gmail.com> <530CB040.2080801@vmware.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox