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 1mHXIb-0003ru-TG for pgsql-general@arkaria.postgresql.org; Sat, 21 Aug 2021 20:09:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mHXIa-0001Ja-SX for pgsql-general@arkaria.postgresql.org; Sat, 21 Aug 2021 20:09:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mHXIa-0001JS-JL for pgsql-general@lists.postgresql.org; Sat, 21 Aug 2021 20:09:00 +0000 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mHXIU-0005hT-4P for pgsql-general@lists.postgresql.org; Sat, 21 Aug 2021 20:09:00 +0000 Received: by mail-qk1-x72a.google.com with SMTP id ay33so3221038qkb.10 for ; Sat, 21 Aug 2021 13:08:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=UGrTkgwgHeuwpXpOF6G1JXboWQNKl6q8xo7VRpZZBmA=; b=ajtvSFXNKHv2lRyjNmqAm/JMgoCv2/ypKJslN4HuqrE1E6johjuvP4P5GhMTYisL/0 oKCfUWpB9XD4MEU3g+OsxrVM3w4wUoBqKoTHIZZQ7qXY7yy986tWZtsbxL7LQem/sYE2 0l6V/IKi/0NB0Vayjgl2u2IXax4Bo/xtk4h1drfKmzlyapkviUmu8pqhl9jXAWIo1T/0 16b2bG9Ill9L1xPHIHQxX/plHThfZoq+OuYINx9BUHDIFCWUsPnxI1xlkk5y61/Phb5i eV2SQ37ijn5hHgwY9AUEXGFRHoTDz66CfwDJCwtQzIpJCONk3F70+/J/B8xZQy27QfKX RGKA== 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-transfer-encoding :content-language; bh=UGrTkgwgHeuwpXpOF6G1JXboWQNKl6q8xo7VRpZZBmA=; b=U9uh+Qec65U81GJu24+F0pD6vllCILHfcgg20qi148nuPmy69fXhlD6+mTV9GrJS4x 0xrdtAQvow48AYIzI0/KMuCFkIh0MXHZ+IPXFo83JPWp5Z/NSKwllqqQfP8+Lpy/cRxQ AISlhXxQOBGyXBk4SbK0eTApuVl4hHQTbcBIA1u5IpT9SUeKOkRwO7t2oVmrm7W7n/AQ 6Kbc9j/x5l1LeizoGf4re03T9Ddh/aCMmuAR/ye9svE9uEN+Q/bQATBjx8t8hPowELoP R+ZLFRtrHuIIl0odba4JNcoPkqjaYW4XUx0h0LNCe+02eEncqFSDQNIXoT0Ezi0HLr5A W42A== X-Gm-Message-State: AOAM532ssj9jvnd0vrSE5XwCnT/s0K3Wxe/ojDBHmiUYZILTFP7SxJ6V h+gqZLnihe+VAFOFFOQZR01VktZHkJ1XJQ== X-Google-Smtp-Source: ABdhPJzVUdtBgs/+8S4uh8dgAQP3Yp0cuKnM7q3hhkGOVsLHgXZoqix2hHRwfnD5dm27t9djA1nQkg== X-Received: by 2002:a05:620a:1325:: with SMTP id p5mr14767765qkj.29.1629576530977; Sat, 21 Aug 2021 13:08:50 -0700 (PDT) Received: from [192.168.2.100] (pool-100-8-54-81.nwrknj.fios.verizon.net. [100.8.54.81]) by smtp.gmail.com with ESMTPSA id b19sm5449411qkc.7.2021.08.21.13.08.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 21 Aug 2021 13:08:50 -0700 (PDT) Subject: Re: Make bloom extension trusted, but can not drop with normal user To: pgsql-general@lists.postgresql.org References: From: Mladen Gogala Message-ID: Date: Sat, 21 Aug 2021 16:08:50 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Why do you think that the normal user should be allowed to drop extensions? Extensions are additions to the RDBMS functionality. Do you really want normal users to tinker with the database functionality and reduce the number of index types you can create? I am not sure that I am on board with that idea. Regards On 8/20/21 7:01 AM, Li EF Zhang wrote: > So, I want to know if extensions in contrib dir can be set "trusted" > ourselves? If we can, I think drop extension should be allowed by > normal user. -- Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com