Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WIJVm-0004TH-4b for pgsql-jdbc@arkaria.postgresql.org; Tue, 25 Feb 2014 15:01:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WIJVl-0000jA-KS for pgsql-jdbc@arkaria.postgresql.org; Tue, 25 Feb 2014 15:01:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WIJVk-0000j3-Fo for pgsql-jdbc@postgresql.org; Tue, 25 Feb 2014 15:01:32 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WIJVf-00034a-US for pgsql-jdbc@postgresql.org; Tue, 25 Feb 2014 15:01:30 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 4D6822829A; Tue, 25 Feb 2014 07:01:24 -0800 (PST) Received: from zcs-prod-ext-mta-2.vmware.com (zcs-prod-ext-mta-2.vmware.com [10.113.62.224]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id 47D5D4014C; Tue, 25 Feb 2014 07:01:24 -0800 (PST) Received: from zcs-prod-ext-mta-2.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTP id DBDBFC0064; Tue, 25 Feb 2014 07:01:22 -0800 (PST) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTPSA; Tue, 25 Feb 2014 07:01:21 -0800 (PST) Message-ID: <530CB040.2080801@vmware.com> Date: Tue, 25 Feb 2014 17:01:20 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: Guillaume Smet CC: Kevin Wooten , pgsql-jdbc Subject: Re: pgjdbc-ng References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org On 02/25/2014 04:49 PM, Guillaume Smet wrote: > On Tue, Feb 25, 2014 at 3:20 PM, Guillaume Smet > 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