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 1t5gf3-007hrk-8H for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Oct 2024 07:29:05 +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 1t5gf1-00DV47-G8 for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Oct 2024 07:29:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t5gf0-00DV3z-RY for pgsql-hackers@lists.postgresql.org; Tue, 29 Oct 2024 07:29:03 +0000 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1t5gex-003PFY-5g for pgsql-hackers@lists.postgresql.org; Tue, 29 Oct 2024 07:29:01 +0000 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-431481433bdso50803795e9.3 for ; Tue, 29 Oct 2024 00:28:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aiven.io; s=google; t=1730186937; x=1730791737; 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=UwJxoba1PVicFolliCylqQhKoYgV+uqWDNFu7KjZ4QI=; b=EMY9ewMkONNzeXLJUW46wvuI8ekcov4jG1oN2awE01Vb6Nlqj3xk1/eyVPm1A38GMl mHot81HIk9I+eiYf+HOTFYHsYBIiHyzeUKTjrsAs8vOnHc+ZtfALtsf/5sdEMude/w1t WO48plEd74hj7u3UwAQg55KcyhLiuun1YtvUU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730186937; x=1730791737; 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=UwJxoba1PVicFolliCylqQhKoYgV+uqWDNFu7KjZ4QI=; b=qPi3kf3vrtoJ0StXWu/4CZqn4rh3OI1B2zu99Ubd+5fnEOpB/UCEejbdWxFp8kGdmF EYFfWztYud+soZY+qcQUGQC+PKjgHhWyNK5mvIkBg7CUBudh8k01ROwBvmg/DBSC64na vg4kNWteRDFr8V9Q2BzZD063k9sZ/DPWYPULwma88C8Vc455iIPghIETHhtcuMu/0TjY 8g2Qa3hM5TCL21TEU/2gEQ+q63tYo/8Z82hyUxvgk3sawk8yGmxvaFrZUpt/4uSOawbJ YXPPx8sfFF2nDm8lyDgxyvMQOtaOXZoW/Mdt2YnrQQadADM09DyQY3AAAPTVIozzx253 KUZA== X-Forwarded-Encrypted: i=1; AJvYcCUDUsIfij8T8Rokf7MZZz9ZTFhuRsyC7JqMIA9avyKf/wTbZHLxyxREqnK3WNo635wNbyxsq+tkLZ+zzuxJ@lists.postgresql.org X-Gm-Message-State: AOJu0YwGTSCMgsDiF+EaM9QvGu/R9OfaDjDNyHaZoGG+1ZpxIFqU0RUO U4rdnwSC7Y0IqU/XaiawHGLLarL+zJUFWgl7K4mY2b0J3AZ09nUBFJaCVVdS3kA= X-Google-Smtp-Source: AGHT+IF9OdjG6fyLMT+iVLbq/HRCw1JfmOAyZ+kDpg12YEoGATYfXWjWxs8OqFJ/3h+bjpHby0LlDg== X-Received: by 2002:a05:600c:198b:b0:431:58cd:b259 with SMTP id 5b1f17b1804b1-4319ad31194mr82301985e9.31.1730186937168; Tue, 29 Oct 2024 00:28:57 -0700 (PDT) Received: from aivenlaptop.localnet ([45.13.105.93]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38058b4e56csm11657004f8f.65.2024.10.29.00.28.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2024 00:28:56 -0700 (PDT) From: Ronan Dunklau To: Tom Lane , pgsql-hackers@lists.postgresql.org Cc: Peter Eisentraut Subject: Re: Converting contrib SQL functions to new style Date: Tue, 29 Oct 2024 08:28:55 +0100 Message-ID: <3316564.aeNJFYEL58@aivenlaptop> In-Reply-To: <2102171.1630517255@sss.pgh.pa.us> References: <3395418.1618352794@sss.pgh.pa.us> <2102171.1630517255@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart3322926.44csPzL39Z" Content-Transfer-Encoding: 7Bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --nextPart3322926.44csPzL39Z Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Le mercredi 1 septembre 2021, 19:27:35 heure normale d=E2=80=99Europe centr= ale Tom=20 Lane a =C3=A9crit : > The rest of this is stuck pending investigation of the ideas about > making new-style function creation safer when the creation-time path > isn't secure, so I suppose we should mark it RWF rather than leaving > it in the queue. Will go do that. Sorry to revive such an old thread but ... since the introduction of the=20 @extschema:name@ syntax in 72a5b1fc880481914da2d4233077438dd87840ca we can = now=20 proceed with this or am I missing something ? I've updated the previous patches to convert them to the new-style, added o= ne=20 for lo as well. Most of them are just patching against a newer extension=20 version than what was provided at the time, except for earthdistance which = now=20 references everything explicitly by pg_catalog or @extschema:cube@.=20 This is a bit tangential to the initial subject, but take the opportunity t= o=20 also update the CREATE DOMAIN statement in earthdistance extension to=20 explicitly reference the cube schema. Best regards, =2D- Ronan Dunklau --nextPart3322926.44csPzL39Z Content-Disposition: attachment; filename="v2-0005-Use-new-style-SQL-function-in-xml2-extension.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="v2-0005-Use-new-style-SQL-function-in-xml2-extension.patch"