On Tue, Jun 10, 2025 at 06:30:33PM +0200, Peter Eisentraut wrote:
> I can see how this might have been different historically. I have noticed
> that there are some areas of code where Datum and struct varlena * or
> similar are used interchangeably. Macros tend to hide that kind of
> confusion. But some of this has been cleaned up with changing some macros
> to inline functions. Maybe doing the same would help here, too.
Yeah, I've noticed that some code paths tend to be a bit confused
about both concepts, sticking to one while silently assuming the
other. Perhaps these could be made cleaner.
--
Michael