X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7B64853A93 for ; Wed, 27 Apr 2005 08:51:25 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 28386-08 for ; Wed, 27 Apr 2005 11:51:15 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 981A953A74 for ; Wed, 27 Apr 2005 08:51:13 -0300 (ADT) Received: (qmail 18519 invoked from network); 27 Apr 2005 11:49:51 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 27 Apr 2005 11:49:51 -0000 Message-ID: <426F7CA8.1010200@fastcrypt.com> Date: Wed, 27 Apr 2005 07:51:04 -0400 From: Dave Cramer Reply-To: pg@fastcrypt.com Organization: Postgres International User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane Cc: List Subject: Re: _pg_keyposition is gone in HEAD References: <426F0FAC.5070407@fastcrypt.com> <17876.1114576982@sss.pgh.pa.us> In-Reply-To: <17876.1114576982@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.028 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/173 X-Sequence-Number: 12780 I is being used to get the position of a key in the database meta data getImportedExported keys, to be specific. My impression was that the information_schema was being provided in order to provide an abstraction of the internal catalogs, ostensibly to minimize changes to clients when the underlying catalogs change from version to version? If this is the case removing it doesn't seem like an option? Shouldn't it be re-written to reflect reality below it ? Dave Tom Lane wrote: >Dave Cramer writes: > > >>This function is being used in getImportedExported keys. >> >> > >To do what exactly? > >I got rid of it in CVS tip because it was wired into the assumption >that INDEX_MAX_KEYS = FUNC_MAX_ARGS, which is not simply not true >anymore: the latter constant doesn't even exist anymore. So you've >got to explain what you were using it for before we can talk about >solutions. > > regards, tom lane > > > > -- Dave Cramer http://www.postgresintl.com 519 939 0336 ICQ#14675561