Fix smgrtruncate code comment.

Started by Kirill Reshkeover 2 years ago2 messageshackers
Jump to latest
#1Kirill Reshke
reshkekirill@gmail.com

Today I was busy rebasing my Greenplum-related Extendable SMGR
patches on Cloudberry, and I faced some conflicts.
While resolving them I noticed code & comments inconsistency in smgr.c
in smgrtruncate function, which tracks down to
c5315f4f44843c20ada876fdb0d0828795dfbdf5. In this commit,
smgr_fsm_nblocks & smgr_vm_nblocks fields were removed, however
comments were not fixed accordingly.

So i suggest to fix this, PFA

Attachments:

v1-0001-Fix-smgrtruncate-code-comment.patchapplication/octet-stream; name=v1-0001-Fix-smgrtruncate-code-comment.patchDownload+2-3
#2Heikki Linnakangas
hlinnaka@iki.fi
In reply to: Kirill Reshke (#1)
Re: Fix smgrtruncate code comment.

On 29/07/2024 13:50, Kirill Reshke wrote:

Today I was busy rebasing my Greenplum-related Extendable SMGR
patches on Cloudberry, and I faced some conflicts.
While resolving them I noticed code & comments inconsistency in smgr.c
in smgrtruncate function, which tracks down to
c5315f4f44843c20ada876fdb0d0828795dfbdf5. In this commit,
smgr_fsm_nblocks & smgr_vm_nblocks fields were removed, however
comments were not fixed accordingly.

So i suggest to fix this, PFA

Applied, thanks!

--
Heikki Linnakangas
Neon (https://neon.tech)