Record SET session in VariableSetStmt

From: "Drouvot, Bertrand" <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Record SET session in VariableSetStmt
Date: 2022-10-06 10:57:17
Message-ID: 0a1cb77a-5b1c-d81c-4178-8e89c4d5988b@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers,

"SET local" is currently recorded in VariableSetStmt (with the boolean
is_local) but "SET session" is not.

Please find attached a patch proposal to also record "SET session" so
that VariableSetStmt records all the cases.

Remark: Recording "SET session" will also help for the Jumbling work
being done in [1].

[1]:
https://www.postgresql.org/message-id/66be1104-164f-dcb8-6c43-f03a68a139a7%40gmail.com

Looking forward to your feedback,

Regards,

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

Attachment Content-Type Size
v1-0001-record-set-session-in-VariableSetStmt.patch text/plain 1.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Julien Rouhaud 2022-10-06 11:18:12 Re: Record SET session in VariableSetStmt
Previous Message kuroda.hayato@fujitsu.com 2022-10-06 10:54:23 RE: Perform streaming logical transactions by background workers and parallel apply