Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1oSn-0003Vq-VM for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Mar 2019 08:33:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h1oSl-0002mC-VP for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Mar 2019 08:33:11 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1oSl-0002m5-Hn for pgsql-hackers@lists.postgresql.org; Thu, 07 Mar 2019 08:33:11 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1oSe-00047q-Eu for pgsql-hackers@lists.postgresql.org; Thu, 07 Mar 2019 08:33:10 +0000 Received: by mail-wm1-x333.google.com with SMTP id z84so8341933wmg.4 for ; Thu, 07 Mar 2019 00:33:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=f9w6KZhM3nKaaJqJ6de0pdcLbt7T4rN0o1sc2bYByI4=; b=dpvPgT+eSwx2CSUO3B3yY8+l0X/RxZKa1/alo2GMHCVY1lzWiOlvmdzXc5z6PHzYWC c1/rVxexQ3F74Nj8A9RR6m3oCWiFsGtLn80unHFPNuWQnfvY7OL8nHQZ16C4Zpo/IZrV 4+q6gMSdOS5KMaIp2o+wwdL5QxFThzOy62Y8N9d3jAKpBeiP0OSLIMLqrtSYqxRhaSKl CgO4vnyLozFNcg7hEmUCXVotBWg1hOHCZqLDMM49DF6NLRJov8cFgdLjqYYP5zrp0AGE OC0CS4KWlYXv+ef2nf3upifvZoTCWJ7BQSalfg8F/BFPXlbG2a66JdrqZLiWCTPgqxch T8/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=f9w6KZhM3nKaaJqJ6de0pdcLbt7T4rN0o1sc2bYByI4=; b=e8/8WKkY0ho43uGoOCXxaX4CAC98zWtKV5xN75ysd4SuYdSzDXmZ3p6NBoeP6IVKCw wVDGkLR2uzAY6aV0N0ZcGe0y3lx58RkGC7u6gYMNzYfST4fY7jxkRUhKuQBptsjZYrZZ 22PhhyMghTa5E463zVJMVoqXMAMwLAjb/RXLw5gHmrnXgKmRpEzu04cIYhftf9DkMu2i Gp/9B0/gu0wLfbZq7M/kHTFS3C1HqLY9at7q/3+QTuIi0vSBngbLs0WHp9UuaYZj6bDm RrJ50WrtXg/TCw+BL2VOq/F1xrYDt4dCc7QTDSiat9kvK5ICnnikf/oyyVzIBUzSPYMW cRuQ== X-Gm-Message-State: APjAAAUoRjQwOJULwYMmwFnbK+IZP7sTTqIIRklmnirAWoQsJFh9GjHl 0pR3ohFqGhDkRiSIIcyMcpGw1xkvxveSfLe+02Y= X-Google-Smtp-Source: APXvYqwc4grj9WKDhvZg9BpibDsiS/oQQyUu1oEYyhejsQY70FvtRT0nixsUKdzPHe3BD7HptSAR9n5P6CO7xP1dIYA= X-Received: by 2002:a1c:458:: with SMTP id 85mr4549121wme.97.1551947582399; Thu, 07 Mar 2019 00:33:02 -0800 (PST) MIME-Version: 1.0 References: <20180919112305.GA18604@zakirov.localdomain> In-Reply-To: From: Pavel Stehule Date: Thu, 7 Mar 2019 09:32:25 +0100 Message-ID: Subject: Re: Re: [HACKERS] proposal: schema variables To: Fabien COELHO Cc: David Steele , Artur Zakirov , Dean Rasheed , Gilles Darold , PostgreSQL Hackers , Peter Eisentraut Content-Type: multipart/alternative; boundary="0000000000005be8c705837cf436" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --0000000000005be8c705837cf436 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =C4=8Dt 7. 3. 2019 v 9:10 odes=C3=ADlatel Fabien COELHO napsal: > > Hello David, > > > This patch hasn't receive any review in a while and I'm not sure if > that's > > because nobody is interested or the reviewers think it does not need an= y > more > > review. > > > > It seems to me that this patch as implemented does not quite satisfy an= y > one. > > > > I think we need to hear something from the reviewers soon or I'll push > this > > patch to PG13 as Andres recommends [1]. > > I have discussed the feature extensively with Pavel on the initial thread= . > > My strong opinion based on the underlying use case is that it that such > session variables should be transactional by default, and Pavel strong > opinion is that they should not, to be closer to Oracle comparable > feature. > > According to the documentation, the current implementation does provide a > transactional feature. However, it is not the default behavior, so I'm in > disagreement on a key feature, although I do really appreciate that Pavel > implemented the transactional behavior. > > Otherwise, ISTM that they could be named "SESSION VARIABLE" because the > variable only exists in memory, in a session, and we could thing of addin= g > other kind of variables later on. > > I do intend to review it in depth when it is transactional by default. > I am sorry. I cannot to support this request. Variables are not transactional. My opinion is strong in this part. I would not to repeat this discussion from start. I am sorry. Regards Pavel > Anyway, the patch is non trivial and very large, so targetting v12 now is > indeed out of reach. > > -- > Fabien. > > --0000000000005be8c705837cf436 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

=C4=8Dt 7. 3. 2019 v=C2=A09:10 odes=C3=ADlatel Fabien COELHO <<= a href=3D"mailto:coelho@cri.ensmp.fr">coelho@cri.ensmp.fr> napsal:

Hello David,

> This patch hasn't receive any review in a while and I'm not su= re if that's
> because nobody is interested or the reviewers think it does not need a= ny more
> review.
>
> It seems to me that this patch as implemented does not quite satisfy a= ny one.
>
> I think we need to hear something from the reviewers soon or I'll = push this
> patch to PG13 as Andres recommends [1].

I have discussed the feature extensively with Pavel on the initial thread.<= br>
My strong opinion based on the underlying use case is that it that such session variables should be transactional by default, and Pavel strong
opinion is that they should not, to be closer to Oracle comparable
feature.

According to the documentation, the current implementation does provide a <= br> transactional feature. However, it is not the default behavior, so I'm = in
disagreement on a key feature, although I do really appreciate that Pavel implemented the transactional behavior.

Otherwise, ISTM that they could be named "SESSION VARIABLE" becau= se the
variable only exists in memory, in a session, and we could thing of adding =
other kind of variables later on.

I do intend to review it in depth when it is transactional by default.
<= /blockquote>

I am sorry. I cannot to support this reques= t. Variables are not transactional. My opinion is strong in this part.
<= /div>

I would not to repeat this discussion from start. = I am sorry.

Regards

P= avel


Anyway, the patch is non trivial and very large, so targetting v12 now is <= br> indeed out of reach.

--
Fabien.

--0000000000005be8c705837cf436--