Re: refactor ExecGrant_*() functions

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Antonin Houska <ah@cybertec.at>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-12-08T09:27:25Z
Lists: pgsql-hackers
On 06.12.22 09:41, Antonin Houska wrote:
> Attached are my proposals for improvements. One is to avoid memory leak, the
> other tries to improve readability a little bit.

I added the readability improvement to my v2 patch.  The pfree() calls 
aren't necessary AFAICT.




Commits

  1. Refactor ExecGrant_*() functions