Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9dnd-0007XL-LG for pgsql-hackers@arkaria.postgresql.org; Tue, 31 Oct 2017 21:10:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e9dnd-0004dj-4x for pgsql-hackers@arkaria.postgresql.org; Tue, 31 Oct 2017 21:10:17 +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 1e9dm4-0007tw-Jd for pgsql-hackers@postgresql.org; Tue, 31 Oct 2017 21:08:40 +0000 Received: from p3plsmtpa12-03.prod.phx3.secureserver.net ([68.178.252.232]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e9dm0-0005Rz-VE for pgsql-hackers@postgresql.org; Tue, 31 Oct 2017 21:08:38 +0000 Received: from [54.210.254.178] ([54.210.254.178]) by :SMTPAUTH: with SMTP id 9dlyeo5K89ca79dlze9jRJ; Tue, 31 Oct 2017 14:08:35 -0700 Content-Type: multipart/alternative; boundary="----sinikael-?=_1-15094841150680.10878137196414173" From: Serge Rielau To: Pavel Stehule Cc: PostgreSQL Hackers In-Reply-To: References: <20171026220732.GI4496@localhost> <1509399760322-0.post@n3.nabble.com> Subject: Re: proposal: schema variables Message-Id: <5665be80-1772-4998-8dbc-3bd071c0d9ad@rielau.com> Date: Tue, 31 Oct 2017 14:08:18 -0700 X-Cm-Message-Id: 15094840989032512a8cd739702e6bb127baa0ff8a7693a059f8e642dc9011378737366 X-Cm-Draft-Id: WyJhIiwzLCJkcmFmdF9pZCIsIjE1MDk0ODQwOTg1NDEiLCJ2IiwxXQ== X-Cm-Tracking-Code: 2.0/1509484098/647b813270dffd4c4b2631f3c9eb3f46/3/9cf3801d03770ada01bb39dc8f52321d/833684b6834115ba70f3f073647cebc0/619f5dd6cf0c728abb479c46d4dbfbe4 X-Mailer: Newton MIME-Version: 1.0 X-CMAE-Envelope: MS4wfFMNUnBySPr5KrtqmzPa0g0f3uYF87d6gz06gsVACuLAnIIUSHUdqSszl3Fpiiop9AkYOUguSAlGqMzGNqnYEO8DaQPwFGBA9sXcY+YFjEew71P4kQjU 3MNN9Ga3dldDwIgIkbweLbsjefyYQ19lvJLW+8vqj6Edifaz+FZ3KBC1n4rqAR2p3uTHxGYp/zA8FQ== 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 ------sinikael-?=_1-15094841150680.10878137196414173 Content-Type: text/plain; format=flowed Content-Transfer-Encoding: 7bit Pavel, I can imagine, so DECLARE command will be introduced as short cut for CREATE TEMP VARIABLE, but in this moment I would not to open this topic. I afraid of bikeshedding and I hope so CREATE TEMP VAR is anough. Language is important because language stays. You choice of syntax will outlive your code and possibly yourself. My 2 cents Serge ------sinikael-?=_1-15094841150680.10878137196414173 Content-Type: text/html; format=flowed Content-Transfer-Encoding: 7bit
Pavel, 
I can imagine, so DECLARE command will be introduced as short cut for CREATE TEMP VARIABLE, but in this moment I would not to open this topic. I afraid of bikeshedding and I hope so CREATE TEMP VAR is anough.
Language is important because language stays. 
You choice of syntax will outlive your code and possibly yourself.

My 2 cents
Serge 
------sinikael-?=_1-15094841150680.10878137196414173--