Is it possible to get all the variables of a PL/pgSQL function (including input parameters and
My goal is to collect these variables into a
jsonb object with each variable name as the key, and variable value as the value in json. I know it's possible to get the name of the current function. I am just wondering if it's possible to get the variables/parameters and their values.