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