Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iekMq-0005Km-Ga for pgsql-bugs@arkaria.postgresql.org; Tue, 10 Dec 2019 18:36:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iekMp-0006RX-AE for pgsql-bugs@arkaria.postgresql.org; Tue, 10 Dec 2019 18:36:15 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1iekMo-0006RQ-VV for pgsql-bugs@lists.postgresql.org; Tue, 10 Dec 2019 18:36:15 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iekMk-0001Nk-1S for pgsql-bugs@lists.postgresql.org; Tue, 10 Dec 2019 18:36:13 +0000 Received: by mail-wm1-x342.google.com with SMTP id p17so4342025wmi.3 for ; Tue, 10 Dec 2019 10:36:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=w0ulZTKWLY3jjzX7OYSk2QkK9ve464U6I2hRAXZWZQU=; b=vw7y4xOiNjJEkFPJTAqjnVSAzgbvGCNvu34kM2vMP/0z8m8Gmu965xx9fdJyWRtEdA 5O+7kFMpavB1O/iPr3BG3EWCQtwKMW6v1U5LjIaq0O4f7LtyUd4h3Iy9R80nEuct4+26 zThQjQ1o8fzoyUU6WTv8oRpsTaykKEmeU+Y3dm0+TlFpuOYEh5qjoGycciM2Lnu4MbU1 W1hPkAIic+RxrLXGubQE/sPewpI83zRR+O8SfL6x9AoknnkR68YHW8PAMJemEpU170YG 3HznBsPyVciJ+IgMljTzFKE9uup41zXq5uN9uQqgC5mzoZtB6RYD+zN1JKhuPqf6b3UB 2lRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=w0ulZTKWLY3jjzX7OYSk2QkK9ve464U6I2hRAXZWZQU=; b=gVOesklm3dStc9c0Q7V85MX+sydDygtf+54H1+67DLtQoUHSVoU4K3JLEI2iCcNGES NJI8fOVrmeE0H7UDy9YssVjVpVvgj2P5eUj1yKEt2wgVYSr8jHos+VDnHy/OUGSByiDs JJvxxu2hhL4Cp61C01mX4f0xraBbjeNLLF3TXP0v3VFJuXYMuWYAmsD5RBZLNxJZkvRu 8pJ/lKCG13BhIk7foKoe0f5YSgmgN0hEJAhhZ7TRy8scy05BmDB6XnC6DOKJQq9j11Wy Mi2JKXe0wDZNRjlD0Z0Nq8Zy1ZlCv6XM6snoNG91brRX1PAjWFIdQaZPNEz+FtpVpqtE FuaA== X-Gm-Message-State: APjAAAXjibzgLOaqx8CmtruRFrzGoQw0kdObZcHaCnjAaJDAZFNXOmSc ggK3xJktvxwkZlvRnYblSyWsUg== X-Google-Smtp-Source: APXvYqyFWLinK4gEfWRILbkKpc+nRXqlPzijh6m6TYIb+wzh399KMck66d7EG+dRc02SU7FAdWUR7A== X-Received: by 2002:a7b:cf21:: with SMTP id m1mr6751391wmg.170.1576002969038; Tue, 10 Dec 2019 10:36:09 -0800 (PST) Received: from localhost (ip-86-49-253-92.net.upcbroadband.cz. [86.49.253.92]) by smtp.gmail.com with ESMTPSA id n67sm4258070wmb.8.2019.12.10.10.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2019 10:36:08 -0800 (PST) Date: Tue, 10 Dec 2019 19:36:06 +0100 From: Tomas Vondra To: Alvaro Herrera Cc: Thomas Munro , Andres Freund , James Coleman , PostgreSQL mailing lists Subject: Re: BUG #16104: Invalid DSA Memory Alloc Request in Parallel Hash Message-ID: <20191210183606.t26c5ypa7bmij3ph@development> References: <20191210173224.y5vaam6ep7pjmddt@development> <20191210173516.GA10987@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20191210173516.GA10987@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, Dec 10, 2019 at 02:35:16PM -0300, Alvaro Herrera wrote: >On 2019-Dec-10, Tomas Vondra wrote: > >> It's probably still a good idea to do this, although I wonder if we >> might start doing this only when actually running out of bits (and use >> the current algorithm by default). But I have no idea if that would be >> any cheaper, and it would add complexity. > >I'm under the impression that this patch is proposed for backpatching, >and that in master we can simply increase the hash width. > Possibly, although AFAIK we don't have that patch yet, and I don't recall any measurements (so it might have overhead too, not sure). But it's true additional complexity might complicate backpatching. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services