Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XZ2pw-0007kh-K0 for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Sep 2014 19:11:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XZ2pv-0001tg-FN for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Sep 2014 19:11:47 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XZ2pO-0001t8-US for pgsql-bugs@postgresql.org; Tue, 30 Sep 2014 19:11:15 +0000 Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XZ2pL-0006km-FO for pgsql-bugs@postgresql.org; Tue, 30 Sep 2014 19:11:13 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id s8UJAxZ12808; Tue, 30 Sep 2014 12:10:59 -0700 Message-ID: <542B003E.3090801@hogranch.com> Date: Tue, 30 Sep 2014 12:10:54 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: pdasari@mdsol.com, pgsql-bugs@postgresql.org Subject: Re: BUG #11528: Max Index Keys References: <20140930184413.7631.93840@wrigleys.postgresql.org> In-Reply-To: <20140930184413.7631.93840@wrigleys.postgresql.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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