Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lGqwk-0008DC-As for pgsql-hackers@arkaria.postgresql.org; Mon, 01 Mar 2021 22:23:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lGqwi-0000IU-9h for pgsql-hackers@arkaria.postgresql.org; Mon, 01 Mar 2021 22:23:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lGqwi-0000IL-2Y for pgsql-hackers@lists.postgresql.org; Mon, 01 Mar 2021 22:23:20 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lGqwf-0007YP-Bt for pgsql-hackers@postgresql.org; Mon, 01 Mar 2021 22:23:18 +0000 Received: by mail-ej1-x634.google.com with SMTP id w1so31332000ejf.11 for ; Mon, 01 Mar 2021 14:23:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=fE1xJEOn5v0a9pdhX4Lq+QokwtJZH96oNMo0H1VwPsg=; b=PJVDadNInL8N1Yq5ddsJZhVXFTn6/yNMN9Y2H6MSy7X8/7nJKaU5Q7a7Wey27B9yQJ VQqsaWjAPotpOZ7EY/9RgzXZIRaOyB7VWErpowLqvhAzdxvVn95W90p39qpVxaWp3mjQ 1SXC8jIOr5saHD2a8gxBw73QmpyLAvhFw8OxhL4sDAo/bCnX+3HM2D1k/q2f4Yet/uOz GyZO4d3XGh2O8Qsz55ao5TT6GG9t8ypuVw12lHRJHB3tqPoy5HDvs7HVw++d6zZB17JW tEa8E6UvDtPIjkX/WjKh/bwpGfhMEhBzGUxD+ylVuy2cPhVti5dHr3Hlhx8rdTLWfGbJ gdkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=fE1xJEOn5v0a9pdhX4Lq+QokwtJZH96oNMo0H1VwPsg=; b=rPtgReaCOlWbwhpNtrPFvAIw1I7oQrYl20SwQT9ufnNkoJVZDbZHNqkgUOv2kmNdF8 QJ3jLM86IT7JI6oLUwXKnt+w3y+JrcJDwkm+aZqksQHWL4ID5PpFVF9mfU67b575xSfQ Idx+brLeAPmYcWGwlQTrWGJXFP70JwzD3nw9C7FcY8txtTcIz1kxAw2x4e9GWegpaAmU UwhwjD2As5u2QZvRkO0xFxwHs07tdv3sjVUcGeZv8r35GcISGDCn2L+RqrLB+IPECp4x 5YGyg6H6aS61oZDSWY0odY2BKaWNqVsyutSj+mMc8Vdj5duuv1saHhQrup8ELtZbua8t Blcg== X-Gm-Message-State: AOAM530UIjNeqtfJ7YcRh927A7NMVq1QF2UxK62K2OOU2oyOQVWkPmcp n+823u3Pt5FK3BSrsIn197Jw1iqJXBs/TY0Q3jgH7fxhx0+9rbbpqGKERaOVobnYcJsiDcxX05u W/EBZTzWD/9k9gUzzyJzdbfbd8DsywAd2B5oR/M6YWv1MFPdH0KMBTj6Odfn+9cJ+YppKpQHtZ1 5+FBOAlsIwkg1FmjEx/FOCKHzL70beG+3i3X+kZuSWVYgFbje6EME+InyxhUk2PPihs1ha+rglK uGnWWuo6sAe6SVwJZ44XLnYZ6GnNV355Ly7Gg== X-Google-Smtp-Source: ABdhPJzlRL6IbmZJlvaCdhQFTR4lMen6dK9/iYaTw/RF+dn0/dfRGaBXK8yXRt+wNe2L01ha9Y4sGQ== X-Received: by 2002:a17:906:c08a:: with SMTP id f10mr17912521ejz.52.1614637395472; Mon, 01 Mar 2021 14:23:15 -0800 (PST) Received: from [10.137.0.20] (ip-86-49-253-127.net.upcbroadband.cz. [86.49.253.127]) by smtp.gmail.com with ESMTPSA id k9sm16981526edo.30.2021.03.01.14.23.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Mar 2021 14:23:14 -0800 (PST) Subject: Re: enable_incremental_sort changes query behavior To: rbrooks , pgsql-hackers@postgresql.org References: <20201029220652.glf4xk2p7wkfisb6@development> <20201030210316.cbwv4arwp4lcfgx2@development> <20201103023743.sswkl6h74dkbcfmp@development> <20201103213942.sj3qohewdshrw4oz@development> <87bfc0bb-34c3-b3fe-7674-0220055fabaa@postgrespro.ru> <1614626597083-0.post@n3.nabble.com> From: Tomas Vondra Message-ID: Date: Mon, 1 Mar 2021 23:23:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <1614626597083-0.post@n3.nabble.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/1/21 8:23 PM, rbrooks wrote: > Just a bump to see if there is a time frame for a fix on this. > > Google Cloud doesn't yet support setting the *enable_incremental_sort * flag > yet. > Was able to temporarily resolve by running the following though: > > ALTER DATABASE corpdb SET enable_incremental_sort TO OFF; > > Hope this helps others until the core issue has been resolved. > I don't follow - all fixes in this thread were committed - that's why it's marked like that in the CF app. And thus it should be in the recent 13.2 release. I don't know what version is currently supported by Google Cloud, maybe they haven't upgraded their PostgreSQL version yet. regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company