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 1sgsUg-009X6D-VN for pgsql-hackers@arkaria.postgresql.org; Wed, 21 Aug 2024 21:03:50 +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 1sgsUe-00F4B1-C0 for pgsql-hackers@arkaria.postgresql.org; Wed, 21 Aug 2024 21:03:48 +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 1sgsUe-00F4At-2B for pgsql-hackers@lists.postgresql.org; Wed, 21 Aug 2024 21:03:48 +0000 Received: from mail-il1-x129.google.com ([2607:f8b0:4864:20::129]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sgsUW-000pho-Ih for pgsql-hackers@postgresql.org; Wed, 21 Aug 2024 21:03:47 +0000 Received: by mail-il1-x129.google.com with SMTP id e9e14a558f8ab-39d34be8ca2so333965ab.3 for ; Wed, 21 Aug 2024 14:03:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724274219; x=1724879019; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=faDipIiGikX0iBMg3mhQxyIJukPBQVihrJDb/emLtIc=; b=WCNL06F8tqt+3Qa6vl29yJ1UuXXNeqwaOW6S+oG2vhFUSFVvC2VGajPiAdQi4VDG1s 8MFXZzrf2TxUOnMIoES7fj0lOIOkrw6OPNqSc86qLWVgO4th4ksdu4Opx/j47xgMbdlZ J2P6+azDXxbSSH/XneR6+dYSU+50NVzxuir1wlwPqYzSiZbxpcwttO8INI0ZLYuslyid p46HmcWgNtLoMmBxvWumHJQ59z9mj2ZCiXDKtWy7zzIfW73RJ+xTVFz2v6dr2KVegFzK rmeelqm9sM3opICc/MCf8lphzs0SXTFZcJiDrNf7iwQZMD4FZAZbKQIYa6HpN4w9zoie zG6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724274219; x=1724879019; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=faDipIiGikX0iBMg3mhQxyIJukPBQVihrJDb/emLtIc=; b=aFGwte+CBqm59E5LElcZrGfZAIrQgFn5Irj59/uWFKyMBpRENIg7i/AhrIGp4AwU5I W68tsQSbnYeLvU5NSBKLFxZSkDkQdNGGcpeyOd2MKe2HybgihLR6zEkwCxcJN2hP0pum pItkkf1D4slKpmv+jDUfEqkcBUNGXsfCtlOosl+U/sUK//qGUHQ/ImxCOTIEBl5vVIy2 zttR1XE+YoKTTvc5YaeCvcurApCKq3GBrg0TwNgv7OfOfTDDfs/8HwaTde/4ebtrVyxg gRIGF61taoJeOYC1blgTW7KuiL0dzYSJAd8Jg3/OHdLcRcmVQgfmLHm/vFHsEuNpEuWP qLCw== X-Forwarded-Encrypted: i=1; AJvYcCWPVSPHLRz0vhYYelF7Ivxguz5oaNRgqMf1Fk5U6KiL3WU0qDpoco7lxy4bRbawLxKCh2fsv3oIb75HLCPm@postgresql.org X-Gm-Message-State: AOJu0YxTjEsFEMQMCCZw9njaYPGs6bve1iUVGWcAKhTkKZkRNFP8M/zj /ep7rqMSIHZ8pjUmP93njkMkj9p0yUur/5C4RGhJBvFsonp4U+36 X-Google-Smtp-Source: AGHT+IE2GK913TXiBBSfzs/A7UyaprbtrCekYaFiPtJHw+j5srrLtqemckeeH4lGBw84n9Try+WkPQ== X-Received: by 2002:a92:cd82:0:b0:375:c9f0:5297 with SMTP id e9e14a558f8ab-39d6c3be6cemr35101755ab.26.1724274219319; Wed, 21 Aug 2024 14:03:39 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-39d73e67f6csm498125ab.18.2024.08.21.14.03.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2024 14:03:39 -0700 (PDT) Date: Wed, 21 Aug 2024 16:03:31 -0500 From: Nathan Bossart To: Alvaro Herrera Cc: Robert Haas , "David E. Wheeler" , PostgreSQL-development Subject: Re: RFC: Additional Directory for Extensions Message-ID: References: <202406251012.brdp2dobkf7n@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202406251012.brdp2dobkf7n@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Jun 25, 2024 at 12:12:33PM +0200, Alvaro Herrera wrote: > archive_command and so on: we could disable these too. Nathan did some > work to implement those using dynamic libraries, so it shouldn't be too > much of a loss; anything that is done with a shell script can also be > done with a small library. Those libraries can be made safe. > If there are other ways to invoke shell commands from GUCs, let's add > the ability to use libraries for those too. Sorry, I just noticed this message. I recently withdrew my patch set [0] for using a library instead of shell commands for restore_command, archive_cleanup_command, and recovery_end_command, as it had sat idle for a very long time. If/when there's interest, I'd be happy to pick it up again. [0] https://postgr.es/m/ZkwLqichtySV5kF3%40nathan-air.lan -- nathan