Re: freeing bms explicitly
Zhihong Yu <zyu@yugabyte.com>
From: Zhihong Yu <zyu@yugabyte.com>
To: akapila@postgresql.org, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2022-03-21T21:30:52Z
Lists: pgsql-hackers
> > Hi, > I was looking at calls to bms_free() in PG code. > > e.g. src/backend/commands/publicationcmds.c line 362 > > bms_free(bms); > > The above is just an example, there're other calls to bms_free(). > Since the bms is allocated from some execution context, I wonder why this > call is needed. > > When the underlying execution context wraps up, isn't the bms freed ? > > Cheers > > >
Commits
-
Remove some useless free calls.
- 3e67a5cac6a5 15.0 landed