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 1jjWUg-0005FA-37 for pgsql-general@arkaria.postgresql.org; Thu, 11 Jun 2020 23:20:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jjWUe-0005wU-Qx for pgsql-general@arkaria.postgresql.org; Thu, 11 Jun 2020 23:20:20 +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 1jjWUe-0005vp-JO for pgsql-general@lists.postgresql.org; Thu, 11 Jun 2020 23:20:20 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jjWUX-0000mU-Le for pgsql-general@postgresql.org; Thu, 11 Jun 2020 23:20:20 +0000 Received: by mail-qt1-x844.google.com with SMTP id i16so5838423qtr.7 for ; Thu, 11 Jun 2020 16:20:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=Van3VmfN0serq6E9ZkP3dM0d6hReBXBrKkXWtriNQw0=; b=cjRxfLuE35UL9YOIp0hPwToab6rbi+n28bx9oksMuiBFTMYOvHQBmmYGoqFYTBgBAF T8+gCeOkgAwtJIy2n2Eawf54tPeCN27jx0jeMSZ4KuFgN+Byzv59OzZX8EBrsonZ8GAB O29L6QiQBokBprSs67ncI5MbflSffs9ip89eSByrg473vk9+NBcEWyPvAhxa7DQjSayZ JPRxvNby6wjvlkNICJX8MJMIuFcYGoXboBbLVjIDSrGih6dMtBymy4Ak+yj2dFrQXHqn 3nXsQtYULfqD3YkX9jrElakSqZ7AQHo1nPFD2rB06DN8G5Cy7Hra8LwxaPVe2cW0mBGD Z0NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=Van3VmfN0serq6E9ZkP3dM0d6hReBXBrKkXWtriNQw0=; b=BzjR9rXxEBr3BmS9O9b1JT3/pFk9c7cJ8NEBRtqYI5dK44W35xoCzKIRHfTAIJj2VG Qv8LNUHjKbBuotGNk2xa1qMMFts1ji+YLzdUx3zAdsxslxd04+Wm+BtABEes2rGzt9n/ LCpKXoZ0gpuviP37m2T5TAf7XadEupa+qu0zgGyBhiGTMhFlcC2hmUmMC+3MKYHL8gCc g6Wr39/0ApEuNh433dRBNkksrmV5QJFBdhuMOI7SjW2PE+Vbi+tJlUv1z01PJMKKdo0z atM0EFRpMr4tdJ819hGIpy765QoChE6ghQvvtdWcwE5CfQdRiuc0xS+37WsaLpv9uKIF 7LFA== X-Gm-Message-State: AOAM531JMmElMD1bKDc3tTltM6My7y4yGTICulXXHa2ZAUB+jt5RylXz hw0uOlCg/M/sWn2Ls3U8WHgq8w== X-Google-Smtp-Source: ABdhPJwTerFChfxKfw0i+UMpfLNHI8KTyaUbSslAn/xd0agS8CjWwBnxfNkZYV6l9aO129h0hXU3TQ== X-Received: by 2002:ac8:f7b:: with SMTP id l56mr398194qtk.127.1591917611253; Thu, 11 Jun 2020 16:20:11 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id a81sm3345003qkb.24.2020.06.11.16.20.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 16:20:10 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 9211A300709; Thu, 11 Jun 2020 19:20:08 -0400 (-04) Date: Thu, 11 Jun 2020 19:20:08 -0400 From: Alvaro Herrera To: Tom Lane Cc: Caleb Cushing , "pgsql-general@postgresql.org >> PG-General Mailing List" Subject: Re: suggestion: psql configs in .config Message-ID: <20200611232008.GA32149@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <552453.1591912528@sss.pgh.pa.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Jun-11, Tom Lane wrote: > I'm finding it hard to see a compelling reason why that would be an > improvement. It would make psql randomly different from 95% of the > other programs that have similar config files. Or, if everybody > somehow got on board with "let's put config files in ~/.config/", > then there'd be clutter in that directory ... and we're back to > square one. Actually, they do: this has been kind-of standardized by freedesktop as XDG_CONFIG_HOME -- see https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html My own ~/.config has 84 subdirs and files. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services