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 1oxwQ1-00046S-PN for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Nov 2022 20:32:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oxwQ0-0000KD-8l for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Nov 2022 20:32:28 +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 1oxwPz-0000K1-IC for pgsql-hackers@lists.postgresql.org; Wed, 23 Nov 2022 20:32:27 +0000 Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oxwPs-0002YU-DV for pgsql-hackers@postgresql.org; Wed, 23 Nov 2022 20:32:27 +0000 Received: by mail-qt1-x835.google.com with SMTP id e15so12016727qts.1 for ; Wed, 23 Nov 2022 12:32:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joeconway.com; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=hyARf62Rllj8ZE4Ld39a7Brh9PAZkQV8xJNzT6XX6V0=; b=GQtxrqsFawblUymXNfcrlN6AC2gb1XCoAhw8N7FYm7EYn85NdUCzIw267nQJEMadCS BxdEocCKY/vKGQz3h26vTgKVCodulyVgsZRnFUU6lKM0vqMn/v49PZTxNG/mn3ktstIc BtloPYxtTRpmmgBjUp+T3qXV/c3gXf+nElZutqnUVSiyLJqPxKj8xVkRrgUKIsHa+2UM OQXuxX24N6W1/ID0K/HvQuD7lY5T/7BPUyGIS5Oy0oUslsI3DFH761zlrBq1yyoQtsNF BGskEc6MUQkPue4eD780h+xylmL9lPYdn2hN36AlbUR+CIVdJotnz5Wk8eGQKidr8GRO JJXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hyARf62Rllj8ZE4Ld39a7Brh9PAZkQV8xJNzT6XX6V0=; b=RYWaVK/GalWWZMu7rnOhz9/8+sKemHFT/2pIZA4f+eZp7olqy+3DcsRo5zLk9P604u 4+mLDH3Iceboi94YqOjF8efPOE2NJ8m37NcMfEdPkkrWxfUfXwNXpmJNCLLes7HPj2V7 wT6NNPew9kY5LL0PwYHA30LfELo1OvOUbwQ6fuEs1lWoaVSEwy/Hzoq0Lus9RbgOPWBN ImebeTowLKdXaZTVHJxJOrn1nnvXkSYOsXqv/zODPuwI9MoEtJXu8l1WY1iQhEN1jkqt fraz/4tr1TQUXnjW3sbiKwySQnWsyV7/gdcd+kpBKTdWVQstUb5TE3raLUfHqdcHV068 ACQw== X-Gm-Message-State: ANoB5pmk1+dTmgVpW1O7v0v9XQE80q5fgK3SN2DVrM7MzZKbuJf7z1w8 B/exc3rxj0Bi+bnBRbUPvLq1gg== X-Google-Smtp-Source: AA0mqf4y3A22tLHIdBX8OF0ryIA4X/XxOtlO+0ABE6G0Mvjid7ij0OceZebLW4h0FjfZaEblCv0XzQ== X-Received: by 2002:ac8:6e84:0:b0:3a6:ef1:62a4 with SMTP id c4-20020ac86e84000000b003a60ef162a4mr11040855qtv.504.1669235538425; Wed, 23 Nov 2022 12:32:18 -0800 (PST) Received: from [192.168.4.41] (162-239-31-113.lightspeed.dybhfl.sbcglobal.net. [162.239.31.113]) by smtp.gmail.com with ESMTPSA id h4-20020a05620a400400b006eeb3165565sm13005630qko.80.2022.11.23.12.32.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Nov 2022 12:32:18 -0800 (PST) Message-ID: <61846051-90b9-adb6-7627-08a374473a61@joeconway.com> Date: Wed, 23 Nov 2022 15:32:17 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: drop postmaster symlink Content-Language: en-US To: Robert Haas , Andres Freund Cc: Tom Lane , =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= , Peter Eisentraut , pgsql-hackers References: <252b8b14-dc3e-1c70-3da5-e59c1616f2ad@joeconway.com> <6b11c9efcd3a1d89719370224d84f8cd5e7b1a8c.camel@gunduz.org> <3705500.1669216069@sss.pgh.pa.us> <20221123195010.huuypoilx6lw7ceg@awork3.anarazel.de> From: Joe Conway In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11/23/22 15:10, Robert Haas wrote: > On Wed, Nov 23, 2022 at 2:50 PM Andres Freund wrote: >> On 2022-11-23 10:07:49 -0500, Tom Lane wrote: >> > Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= writes: >> > > ...and it helps us to find the "main" process a bit easily. >> > >> > Hmm, that's a nontrivial point perhaps. It's certain that this >> > will break some other people's start scripts too. >> >> OTOH, postmaster has been deprecated for ~15 years. > > Yeah. Also, I don't think it's generally too hard to find the parent > process anyway, because at least on my system, the other ones end up > with ps display that looks like "postgres: logical replication > launcher" or whatever. The main process doesn't set the ps status > display, so that's the only one that shows a full path to the > executable in the ps status, which is how I usually spot it. That has > the advantage that it doesn't matter which name was used to launch it, > too. Same here > I don't actually care very much whether we get rid of the postmaster > symlink or not, but if we aren't going to, we should stop calling it > deprecated. If 15 years isn't enough time to remove it, what ever will > be? I tend to think it's fairly pointless and perhaps also a bit > confusing, because the product is postgres not postmaster and people > can reasonably expect the binary name to match the product name. But > if we keep it, I don't think anything too dire will happen, either. FWIW, the reason I took note of the postmaster symlink in the first place a few years ago was because selinux treats execution of programs from symlinks differently than from actual files. -- Joe Conway PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com