Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tYuM6-00GLb4-K8 for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Jan 2025 21:58:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tYuM5-007Egf-AQ for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Jan 2025 21:58:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tYuIy-0078un-6u for pgsql-hackers@lists.postgresql.org; Fri, 17 Jan 2025 21:55:04 +0000 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tYuIv-0005gw-2i for pgsql-hackers@lists.postgresql.org; Fri, 17 Jan 2025 21:55:04 +0000 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-ab2c9b8aecaso397217766b.0 for ; Fri, 17 Jan 2025 13:55:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f10-com-br.20230601.gappssmtp.com; s=20230601; t=1737150901; x=1737755701; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=LHeTLgexhmUDadWBLtP68A8upE5bn9FksKz38JBZAEY=; b=oAk7pr0XZvwlwqMZVkMdba3q5FqRcQFh7QydIa2S5e2xl5Et0T31bFC25YtvJedVYC aSUrIjAbMWwYeywSkmiQVWAX3Vm1cggsT4atCaV0iyqyE1jJ7UqmkP7U+iYxr2u3yG5L 5/me6jtapGgDjzclzN/2uBHQZOohIrTBBZ4/kEnH4A8MgVv6isUt0RnjWtqvlRlSKb6J kgpzTM0Moy9ojYPDgOJYr+Mw2WXvBuzkfVpmdOXbWOaXTzYi+7huz6WqUw/raOZO1Xjx RFYafN84OBGv1+NeARyx68D5EwVe3klf7RDHnoNkeWtWMPpIB+n4TOd6td1KcHNxt/0Z DqbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737150901; x=1737755701; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LHeTLgexhmUDadWBLtP68A8upE5bn9FksKz38JBZAEY=; b=cGcu99fGbclQNX01wNNwxhyNTMNUk03Q960O8rrOwIVVY8FV6vTvasI5MkCfqpAt6I EV5FrN0uLIOXe1CxoDr/Ub0+9HfpmxG53lwUn0pqALIS4WpTx4OuIMLOE/lrxzvEZks/ E/ULfUxZtXfmP/6cLuq5q8dKsYwbmFPqJsoDFWIc+lYSmNlUGs8oxBmX9i3YZ9h3Eh04 khlgFP4Q9DzuxDu4BHXh6TA+5h9u5Zf5H5PI6sCONTHlGI6U3hs8YJ6Y+A9kov0+fO8x XB7Kzk0L7wsEjkfNEd6UNEzxZzmB5QTV7QeTcABi2s+ByN4X0mW+ItF0WVnFe29LyxSb Zm/A== X-Forwarded-Encrypted: i=1; AJvYcCX/nTwTg8FUv09sge3svSYvDiXGmpRYJmeNNVRxwqQi2/8eL8OhMAr0kAXUybIofUzyAGBdbS8tfjNhG3bt@lists.postgresql.org X-Gm-Message-State: AOJu0YzeRfjxymYF7CHQs+cGNTIu8iXv30Xcs0wSjI2UMRHaBMEdpq9m lBBUkpz8hm6R3TDYdVcWa25biS+0mvQJYdBX+z7ZX8OssL9Fx3+7kUDTkJNEXk5ZLB7VIsPeU69 Gt179W3BWScPEMW1VaWXeWFBBoEtddTcu/4E1 X-Gm-Gg: ASbGnctMc7PYbvpUxTaTg4b+NP2v/+JtEvDvRIIrEivtW5qevQOR4bI+r/VRBvQG+70 amm4yN2LA5WCeqApf602imHWCoW+Vav0IqgVnLpXW X-Google-Smtp-Source: AGHT+IHVv/jpu+QKJkGHk76xkuoM49ChGtolKNBH+PXDyDQPAQEvbf4PPLWxuAgZg/OWYPGrryfYJ0u9hpLpJzuoRPA= X-Received: by 2002:a17:907:70a:b0:aa6:88c6:9449 with SMTP id a640c23a62f3a-ab38b10ba86mr331997266b.19.1737150901499; Fri, 17 Jan 2025 13:55:01 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Marcos Pegoraro Date: Fri, 17 Jan 2025 18:54:17 -0300 X-Gm-Features: AbW1kvaK2cw-VXeWYR-wewuzzNuGivyrAKMq2bg0-MnklW32K-4poEa8AOiKkY0 Message-ID: Subject: Re: Fwd: Re: proposal: schema variables To: Bruce Momjian Cc: Pavel Stehule , PostgreSQL Hackers Content-Type: multipart/alternative; boundary="00000000000067d85c062bedf65b" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000067d85c062bedf65b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Em sex., 17 de jan. de 2025 =C3=A0s 13:01, Bruce Momjian escreveu: > Okay, good summary. Now, can people give feedback that they would want > this committed to PostgreSQL? I would love to have this functionality as soon as possible. I already mentioned to Pavel that he did something very big, and consequently difficult for anyone to commit, because these patches change a lot of things in a lot of places. Of course we want as much as possible, but who knows if a first, leaner version was committed, with just session variables, so nothing related to schemas, catalogs, grants, dumps, etc, just a variable in memory, only that. It would be really cool, and certainly easier for a committer to agree with the code. And if the first commit occurs, others can follow. Remember that some people don't use PSQL, so they don't have \set Even \set variables are not typed, so CREATE VARIABLE T AS DOMAIN_NUMBER_BETWEEN_1_AND_5 is really cool. regards Marcos --00000000000067d85c062bedf65b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Em sex., 17 de jan. de 2025 =C3=A0s = 13:01, Bruce Momjian <bruce@momjian.= us> escreveu:
Okay, good summary.=C2=A0 Now, can people give feedback that they would wan= t
this committed to PostgreSQL?

= I would love to have this functionality as soon as possible.=C2=A0
I already mentioned = to Pavel that he did something very big, and consequently difficult for any= one to commit, because=C2=A0these patches=C2=A0change a lot of things in a l= ot of places.
Of course we want as much as possible, but who knows if a = first,=C2=A0leaner version was committ= ed, with just session variables,=C2=A0so noth= ing related to schemas, catalogs, grants,=C2=A0 dumps, etc, just a variable= in memory, only that.=C2=A0
It would be = really cool, and certainly easier for a committer to agree with the code. A= nd if the first commit occurs, others can fol= low.

Remember that some people don't use PSQL, so = they don't have \set
Even \set variables are not= typed, so CREATE VARIABLE T AS DOMAIN_NUMBER_BETWEEN_1_AND_5 is really coo= l.

regards
<= div><= span class=3D"gmail_default">Marcos
--00000000000067d85c062bedf65b--