Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t8chN-0058i8-Pg for pgsql-hackers@arkaria.postgresql.org; Wed, 06 Nov 2024 09:51:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t8chL-004pVu-5E for pgsql-hackers@arkaria.postgresql.org; Wed, 06 Nov 2024 09:51:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t8chK-004pVm-Q7 for pgsql-hackers@lists.postgresql.org; Wed, 06 Nov 2024 09:51:35 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1t8chG-000TvM-O1 for pgsql-hackers@lists.postgresql.org; Wed, 06 Nov 2024 09:51:34 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4315f24a6bbso50865975e9.1 for ; Wed, 06 Nov 2024 01:51:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aiven.io; s=google; t=1730886690; x=1731491490; darn=lists.postgresql.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=b9FdVtKVTZijqfe2UKT84FMQGuKdWX5TmvAQToZmLKI=; b=hlg3/VU3482SJ29PJLVVLnHZ7IHK9tZpJ2cq0F3ZKIDcBmXLnfo3if5YWKp3+8WI/s 99thZyInUOymjAxsw51ORvfQGUwuEBsDfyKh8eyEhE5HDL5YnQKZLMnuWZMqSdeDs/3M r/dCj1xHP3zEvKq9/5eOnVSQ5NN9FRNJ0i2Y8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730886690; x=1731491490; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=b9FdVtKVTZijqfe2UKT84FMQGuKdWX5TmvAQToZmLKI=; b=IEzOSMRevGxOd6NCyxYKC//lvyMkPoIpL+Nd0ywoOPzxKFglED0GGz1rPi2NQT8P95 Pi66+kq199unutLBpK3DGqTgbUl+rkJN0o2ebXBPnrDrrPNzYTJ/fSF22JkoaIFAeCJj mnoQkILLcx/uZk2pli6DURojVo5qHwwrrlX1b3H4hmvBsNKM4pW9pBryQaEWpu84VLHN FQd2Rs1/lbQitZsG+nxUQlTwJnK4KClOb8e1G5LsehMNpcE6oeFpdlxh4LQLZtxTCG4S doWdCPlz8ODNLoe9GGd0uctyT4LwyCfOm9fvr0LFZB8GSb4iGs6Cg0X67U1YkG6NhP5N lMZA== X-Gm-Message-State: AOJu0YyKniBDaySt+EongjuZhhhRRmjcQvePdHshUkR0F33KyRT5VtRf QL+sVDysZjC4hAMpnZYhBfYSAN1FOEcTLW0iH5NCZ7snt0vxjD7Wx5YcEsMx38o= X-Google-Smtp-Source: AGHT+IEPGentrPgwK8FZ2W92WuB6ZHbYx/uHKrO8/VmDR9ULxZWkxIMUejPB9eLvkdpDOfL0fgA/SQ== X-Received: by 2002:a05:600c:354c:b0:42f:7e87:3438 with SMTP id 5b1f17b1804b1-4319ab8d515mr365061745e9.0.1730886690614; Wed, 06 Nov 2024 01:51:30 -0800 (PST) Received: from aivenlaptop.localnet ([45.13.105.93]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381c10d49d4sm18602242f8f.34.2024.11.06.01.51.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2024 01:51:30 -0800 (PST) From: Ronan Dunklau To: Tom Lane , Michael Paquier Cc: pgsql-hackers@lists.postgresql.org, Peter Eisentraut Subject: Re: Converting contrib SQL functions to new style Date: Wed, 06 Nov 2024 10:51:29 +0100 Message-ID: <5829980.DvuYhMxLoT@aivenlaptop> In-Reply-To: References: <3395418.1618352794@sss.pgh.pa.us> <3133933.1730855116@sss.pgh.pa.us> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Le mercredi 6 novembre 2024, 06:52:16 heure normale d=E2=80=99Europe centra= le Michael=20 Paquier a =C3=A9crit : > On Tue, Nov 05, 2024 at 08:05:16PM -0500, Tom Lane wrote: > > No, I don't think so. For one thing, it would not help existing > > installations unless they issue "ALTER EXTENSION UPDATE", which > > people are not likely to do in a minor update. But also, we don't > > know of live attacks against these functions with their current > > definitions, so I don't think this is urgent. >=20 > OK, thanks. =46or most of them I agree, but one side effect of the current implementati= on is=20 that we have a bug when pg_upgrad'ing if earthdistance is installed:=20 https://www.postgresql.org/message-id/flat/ 152106914669.1223.5104148605998271987%40wrigleys.postgresql.org The new version of earthdistance fixes that problem, so this one would be w= orth=20 a back patch to 16, giving users the opportunity to update earthdistance=20 before running pg_upgrade. Thanks for the tip about the CI, will make sure to have it setup before nex= t=20 time. =2D- Ronan Dunklau