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 1hECiO-0000tq-Ob for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Apr 2019 12:52:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hECiN-000264-Aj for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Apr 2019 12:52:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hECiM-0001xh-TB for pgsql-hackers@lists.postgresql.org; Wed, 10 Apr 2019 12:52:31 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hECiK-0002eH-0F for pgsql-hackers@lists.postgresql.org; Wed, 10 Apr 2019 12:52:29 +0000 Received: from msg.df7cb.de (unknown [IPv6:2003:5b:203b:100:7627:eaff:fe52:8e03]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 44fPFP2Tj3z3DxD; Wed, 10 Apr 2019 14:52:25 +0200 (CEST) Date: Wed, 10 Apr 2019 14:52:25 +0200 From: Christoph Berg To: "Fred .Flintstone" Cc: PostgreSQL Hackers Subject: Re: PostgreSQL pollutes the file system Message-ID: <20190410125225.GE20121@msg.df7cb.de> References: <20190329152557.GI20294@msg.df7cb.de> <24256.1553874086@sss.pgh.pa.us> <20190329155121.5zyoahgh4i2r4ayl@alap3.anarazel.de> <19517.1553876700@sss.pgh.pa.us> <20190329185031.GA19154@msg.df7cb.de> <48e5efaf-7ea2-ed70-a803-949bbfec8f6b@joeconway.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Re: Fred .Flintstone 2019-04-10 > It seems we do have a clear path forward on how to accomplish this and > implement this change. > > 1. Rename executables to carry the pg_ prefix. > 2. Create symlinks from the old names to the new names. > 3. Modify the executables to read argv[0] and print a warning if the > executable is called from the old name (symlink). > > This seems technically feasible and easy. > > How can we proceed? You can send a patch. But I don't think there has been a "clear" agreement that this is a good idea. Christoph