pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Drouvot, Bertrand <bdrouvot@amazon.com>
To: Julien Rouhaud <rjuju123@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Jeremy Schneider <schnjere@amazon.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Imseih (AWS), Sami <simseih@amazon.com>
Subject: Re: [PATCH] Query Jumbling for CALL and SET utility statements
Date: Thu, 8 Sep 2022 18:07:05 +0200
Message-ID: <a16d303f-39ad-319c-18ff-85b78b106fe1@amazon.com> (raw)
In-Reply-To: <20220908112919.2ytxpkitiw6lt2u6@jrouhaud>
References: <46ca04f9-1e37-c862-9a28-c5dffaee412f@amazon.com>
	<20220831190604.l2luuhj3xkau7dvk@awork3.anarazel.de>
	<e43a0e02-4ef4-d510-a00a-cf39d2a9df19@amazon.com>
	<cbd28368-a5ae-f141-4c3f-28ba9f608ba0@amazon.com>
	<BBB9A13D-BBE2-44A4-9CA7-6E189120E5A2@amazon.com>
	<09c04aba-7f12-e524-20f7-3f92c1479fdf@amazon.com>
	<9aee54f2-5cc1-5b64-1f73-6961932e7bd2@amazon.com>
	<Yxl8R8mAUG2vqAcC@paquier.xyz>
	<20220908065012.l3bd2np7wj52cxco@jrouhaud>
	<c65f1c67-bae4-9658-9206-f11e9c6f7d11@amazon.com>
	<20220908112919.2ytxpkitiw6lt2u6@jrouhaud>

Hi,

On 9/8/22 1:29 PM, Julien Rouhaud wrote:
> Hi,
>
> On Thu, Sep 08, 2022 at 11:06:51AM +0200, Drouvot, Bertrand wrote:
>> Hi,
>>
>> On 9/8/22 8:50 AM, Julien Rouhaud wrote:
>>
>> Thanks for looking at it!
>>
>>> On Thu, Sep 08, 2022 at 02:23:19PM +0900, Michael Paquier wrote:
>>>> On Wed, Sep 07, 2022 at 06:19:42PM -0700, Jeremy Schneider wrote:
>>>>> I didn't fully debug yet, but here's the backtrace on my 14.4 build with
>>>>> the patch
>>>> What happens on HEAD?  That would be the target branch for a new
>>>> feature.
>>> It would be the same AFAICS.  From v3:
>>>
>>> +               case T_VariableSetStmt:
>>> +                       {
>>> +                               VariableSetStmt *stmt = (VariableSetStmt *) node;
>>> +
>>> +                               APP_JUMB_STRING(stmt->name);
>>> +                               JumbleExpr(jstate, (Node *) stmt->args);
>>> +                       }
>>>
>>> For a RESET ALL command stmt->name is NULL.
>> Right, please find attached v4 addressing the issue and also Sami's comments
>> [1].
> (Sorry I've not been following this thread until now)
>
> IME if your application relies on 2PC it's very likely that you will hit the
> exact same problems described in your original email.

Agree

>   What do you think about
> normalizing those too while working on the subject?

That sounds reasonable, I'll have a look at those too while at it.

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services:https://aws.amazon.com

view thread (45+ messages)  latest in thread

Message-ID: <a16d303f-39ad-319c-18ff-85b78b106fe1@amazon.com>
Permalink:  ../a16d303f-39ad-319c-18ff-85b78b106fe1@amazon.com/
Also on:    postgresql.org/message-id/a16d303f-39ad-319c-18ff-85b78b106fe1@amazon.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: bdrouvot@amazon.com, rjuju123@gmail.com, michael@paquier.xyz, schnjere@amazon.com, pavel.stehule@gmail.com, andres@anarazel.de, simseih@amazon.com
  Subject: Re: [PATCH] Query Jumbling for CALL and SET utility statements
  In-Reply-To: <a16d303f-39ad-319c-18ff-85b78b106fe1@amazon.com>
  References: <46ca04f9-1e37-c862-9a28-c5dffaee412f@amazon.com> <20220831190604.l2luuhj3xkau7dvk@awork3.anarazel.de> <e43a0e02-4ef4-d510-a00a-cf39d2a9df19@amazon.com> <cbd28368-a5ae-f141-4c3f-28ba9f608ba0@amazon.com> <BBB9A13D-BBE2-44A4-9CA7-6E189120E5A2@amazon.com> <09c04aba-7f12-e524-20f7-3f92c1479fdf@amazon.com> <9aee54f2-5cc1-5b64-1f73-6961932e7bd2@amazon.com> <Yxl8R8mAUG2vqAcC@paquier.xyz> <20220908065012.l3bd2np7wj52cxco@jrouhaud> <c65f1c67-bae4-9658-9206-f11e9c6f7d11@amazon.com> <20220908112919.2ytxpkitiw6lt2u6@jrouhaud> <a16d303f-39ad-319c-18ff-85b78b106fe1@amazon.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox