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 1h9xO7-00081m-0y for pgsql-hackers@arkaria.postgresql.org; Fri, 29 Mar 2019 19:42:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h9xO5-0006VA-Oq for pgsql-hackers@arkaria.postgresql.org; Fri, 29 Mar 2019 19:42:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h9xO5-0006V2-4z for pgsql-hackers@lists.postgresql.org; Fri, 29 Mar 2019 19:42:01 +0000 Received: from anastigmatix.net ([68.171.219.55]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h9xO2-0008SC-Md for pgsql-hackers@lists.postgresql.org; Fri, 29 Mar 2019 19:42:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anastigmatix.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ej605tBAB1yUonyJA6fkHrx5MFdCvChY9PT5MdJTRvk=; b=oP86LmlXP0BadMkvVvYzYKFXpm 9cFtTcq08k/xTBoSmeuzxFx7djCr6M8xyUL5cyuw0lB/V1LoLPKM2ehu/dFcvtwNrecldbhVcvEj/ J5sy32JLGQp4YzHjtboRiSNRkgYyOCDtGa1tNVelTOrqCns8HSdyOcDny2LF2FLPnbyMHEWnazqy2 VujbfDeVdmCOWGr/hgKwph0yIhpdgewSanY2sXyUI1RadSM5li4xwI4c6yfkA+UlgNoWyiRbBT7Wr bg9DJ+FJWnM33oQxX8fy5yZMYGcaOAugY4BZ5yIQgQqz2gszQ8CseTi98PUzVzLt4bixchubSETdP P9MV2knw==; Received: from cos-128-210-107-27.science.purdue.edu ([128.210.107.27]:46284 helo=gibbs.math.purdue.edu) by bay.acenet.us with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1h9xNt-004QqB-B2; Fri, 29 Mar 2019 15:41:53 -0400 Subject: Re: PostgreSQL pollutes the file system To: Joe Conway , Pavel Stehule , Christoph Berg Cc: Tom Lane , Andres Freund , Tatsuo Ishii , Andreas Karlsson , Tomas Vondra , eldmannen@gmail.com, mark.kirkwood@catalyst.net.nz, Michael Paquier , Chris Travers , Alvaro Herrera , Euler Taveira , rjuju123@gmail.com, PostgreSQL Hackers References: <20190327142657.GC17983@development> <375ea28a-2e8c-9954-66b1-bd0a3ff657f5@proxel.se> <18182.1553697687@sss.pgh.pa.us> <20190329.100407.1159785913847835944.t-ishii@sraoss.co.jp> <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> From: Chapman Flack Message-ID: Date: Fri, 29 Mar 2019 15:41:48 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <48e5efaf-7ea2-ed70-a803-949bbfec8f6b@joeconway.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-99.5 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bay.acenet.us X-AntiAbuse: Original Domain - lists.postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - anastigmatix.net X-Get-Message-Sender-Via: bay.acenet.us: authenticated_id: chap@anastigmatix.net X-Authenticated-Sender: bay.acenet.us: chap@anastigmatix.net X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/29/19 3:32 PM, Joe Conway wrote: > pg_util > > Of course that does not lend itself to symlinking for backward > compatibility, does it? If there is a way I am not familiar with it. On Unix-like systems, you can have pg_util look at argv[0] to see if it was called createuser or what not. Not sure how translatable that is to other systems. Regards, -Chap