Re: [PATCH] Query Jumbling for CALL and SET utility statements - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Re: [PATCH] Query Jumbling for CALL and SET utility statements
Date
Msg-id 20220908065012.l3bd2np7wj52cxco@jrouhaud
Whole thread Raw
In response to Re: [PATCH] Query Jumbling for CALL and SET utility statements  (Michael Paquier <michael@paquier.xyz>)
Responses Re: [PATCH] Query Jumbling for CALL and SET utility statements
List pgsql-hackers
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.



pgsql-hackers by date:

Previous
From: "Drouvot, Bertrand"
Date:
Subject: Re: [PATCH] Query Jumbling for CALL and SET utility statements
Next
From: Amit Kapila
Date:
Subject: Re: Perform streaming logical transactions by background workers and parallel apply