From: John R Pierce <pierce@hogranch.com>
To: pdasari@mdsol.com
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #11528: Max Index Keys
Date: Tue, 30 Sep 2014 12:10:54 -0700
Message-ID: <542B003E.3090801@hogranch.com> (raw)
In-Reply-To: <20140930184413.7631.93840@wrigleys.postgresql.org>
References: <20140930184413.7631.93840@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 9/30/2014 11:44 AM, pdasari@mdsol.com wrote:
> We are using Amazon Redshift postgreSQL. no matter what jar file we use it
> gives the following error message.
jar file? what is this jar file? Do you mean JDBC ? The
PostgreSQL JDBC driver is its own project, has its own mailling lists.
The bug report form you used is for the core database server, which has
no Java components.
> Upon browsing, found that the source code is reading the max_index_keys
> should be greater than 0. However the redshift database does not require
> indexing. I really appreciate your assistance if there is any specific jar
> to use to avoid using the max_index_keys function while executing the query
>
> Below is the error we encountered:
>
> Unable to determine a value for MaxIndexKeys due to missing system catalog
> data
While PostgreSQL doesn't require indexes, its standard practice in
relational databases to always define a primary key for every table.
I'm not sure why JDBC would be enforcing this.
--
john r pierce 37N 122W
somewhere on the middle of the left coast
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: pierce@hogranch.com, pdasari@mdsol.com
Subject: Re: BUG #11528: Max Index Keys
In-Reply-To: <542B003E.3090801@hogranch.com>
References: <20140930184413.7631.93840@wrigleys.postgresql.org> <542B003E.3090801@hogranch.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