pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: John R Pierce <pierce@hogranch.com>
Cc: Paul Dasari <pdasari@mdsol.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #11528: Max Index Keys
Date: Tue, 30 Sep 2014 16:44:27 -0400
Message-ID: <20546.1412109867@sss.pgh.pa.us> (raw)
In-Reply-To: <542B0E31.5060703@hogranch.com>
References: <20140930184413.7631.93840@wrigleys.postgresql.org>
	<542B003E.3090801@hogranch.com>
	<CAFgphJpHyz5KHayQj8g3JS+7Aa5kjhWeiZTgYFE-YVV+Gq-L1A@mail.gmail.com>
	<542B0262.8080800@hogranch.com>
	<CAFgphJrmFterNsVBTTTLWbC0e+LhsfN9H=78twHSEN3N97MCWA@mail.gmail.com>
	<542B05AD.1090309@hogranch.com>
	<CAFgphJpZnZCv8PzDsQTMjzk6cMhE+kHcsaCNyepwt1L+tr+Bxg@mail.gmail.com>
	<542B0E31.5060703@hogranch.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

John R Pierce <pierce@hogranch.com> writes:
> if its a Redshift specific bug, which that seems to imply, then you'll 
> need to take that up with Amazon, as Redshift is a fork of a rather old 
> and no longer supported version of PostgreSQL

max_index_keys is a GUC variable that reflects a server build
parameter, namely the maximum number of columns allowed in an index.
I am guessing that the JDBC driver is trying to read that variable
and it's not working because Redshift is descended from a PG version
that predates whenever we added that GUC.  (Which was a long time
ago :-(.)  I have no idea *why* the JDBC driver would need to know that.

You really need to ask about this on the pgsql-jdbc mailing list,
not here.  There may not be a good solution other than using an ancient
JDBC driver with Redshift ... but the people who would know read that
list.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (10+ messages)  latest in thread

Message-ID: <20546.1412109867@sss.pgh.pa.us>
Permalink:  ../20546.1412109867@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20546.1412109867@sss.pgh.pa.us

 · 

reply

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pierce@hogranch.com, pdasari@mdsol.com
  Subject: Re: BUG #11528: Max Index Keys
  In-Reply-To: <20546.1412109867@sss.pgh.pa.us>
  References: <20140930184413.7631.93840@wrigleys.postgresql.org> <542B003E.3090801@hogranch.com> <CAFgphJpHyz5KHayQj8g3JS+7Aa5kjhWeiZTgYFE-YVV+Gq-L1A@mail.gmail.com> <542B0262.8080800@hogranch.com> <CAFgphJrmFterNsVBTTTLWbC0e+LhsfN9H=78twHSEN3N97MCWA@mail.gmail.com> <542B05AD.1090309@hogranch.com> <CAFgphJpZnZCv8PzDsQTMjzk6cMhE+kHcsaCNyepwt1L+tr+Bxg@mail.gmail.com> <542B0E31.5060703@hogranch.com> <20546.1412109867@sss.pgh.pa.us>

* 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