Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fVnZB-0001NF-N2 for pgsql-bugs@arkaria.postgresql.org; Thu, 21 Jun 2018 00:35:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fVnZ9-00085s-NW for pgsql-bugs@arkaria.postgresql.org; Thu, 21 Jun 2018 00:35:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fVnZ9-00085k-Hs for pgsql-bugs@lists.postgresql.org; Thu, 21 Jun 2018 00:35:11 +0000 Received: from tama50.ecl.ntt.co.jp ([129.60.39.147]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fVnZ2-00089F-5u; Thu, 21 Jun 2018 00:35:11 +0000 Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama50.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id w5L0Z15u005375; Thu, 21 Jun 2018 09:35:01 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id EE4FC638200; Thu, 21 Jun 2018 09:35:00 +0900 (JST) Received: from jcms-pop21.ecl.ntt.co.jp (jcms-pop21.ecl.ntt.co.jp [129.60.87.134]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id DF099637EE4; Thu, 21 Jun 2018 09:35:00 +0900 (JST) Received: from [127.0.0.1] (unknown [129.60.241.61]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTPSA id C842640094A; Thu, 21 Jun 2018 09:35:00 +0900 (JST) Subject: Re: BUG #15250: ERROR: could not find pathkey item to sort References: <152952849928.1252.6596277019511618168@wrigleys.postgresql.org> From: Amit Langote Message-ID: Date: Thu, 21 Jun 2018 09:34:49 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <152952849928.1252.6596277019511618168@wrigleys.postgresql.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CC-Mail-RelayStamp: 1 To: sara.pranke@gmail.com, pgsql-bugs@lists.postgresql.org, PG Bug reporting form X-TM-AS-MML: disable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018/06/21 6:01, PG Bug reporting form wrote: > The following bug has been logged on the website: > > Bug reference: 15250 > Logged by: Sara Pranke > Email address: sara.pranke@gmail.com > PostgreSQL version: 9.4.17 > Operating system: Debian 8.0 > Description: > > I have complex queries in large tables that use memory for sorting items, we > upgrate PostgreSQL from 9.1 to 9.4 and in this version we get this error: > 'could not find pathkey item to sort' It's hard to help without seeing the query that's caused this error. Could you share the query? Thanks, Amit