Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dourl-0004jE-6T for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Sep 2017 17:08:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dourk-000718-KH for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Sep 2017 17:08:52 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dourj-0006zo-E0 for pgsql-hackers@postgresql.org; Mon, 04 Sep 2017 17:08:51 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dourd-0006UF-5h for pgsql-hackers@postgresql.org; Mon, 04 Sep 2017 17:08:50 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v84H8dLK004708; Mon, 4 Sep 2017 13:08:39 -0400 From: Tom Lane To: Pavel Stehule cc: Fabien COELHO , Robert Haas , Corey Huinker , Daniel Verite , PostgreSQL Developers Subject: Re: Variable substitution in psql backtick expansion In-reply-to: References: <3926.1491159242@sss.pgh.pa.us> <13303.1503698976@sss.pgh.pa.us> <14596.1503701034@sss.pgh.pa.us> <20786.1503760136@sss.pgh.pa.us> <24850.1503766425@sss.pgh.pa.us> <4959.1503774468@sss.pgh.pa.us> ! <2947.1504542679@sss.pgh.pa.us> <4172.1504544188@sss.pgh.pa.us> Comments: In-reply-to Pavel Stehule message dated "Mon, 04 Sep 2017 19:01:17 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4706.1504544919.1@sss.pgh.pa.us> Date: Mon, 04 Sep 2017 13:08:39 -0400 Message-ID: <4707.1504544919@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Pavel Stehule writes: > 2017-09-04 18:56 GMT+02:00 Tom Lane : >> Just had another idea: maybe make the new variable names >> SERVER_VERSION_S >> SERVER_VERSION_N >> VERSION_S >> VERSION_N > SERVER_VERSION_STR looks better than this. I dunno, I'm not very pleased with the "STR" idea because the verbose version string is also a string. Documenting "S" as meaning "short" would dodge that objection. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers