Em qui., 31 de ago. de 2023 às 00:22, Michael Paquier <michael(at)paquier(dot)xyz>
escreveu:
> On Wed, Aug 30, 2023 at 03:00:13PM -0300, Ranier Vilela wrote:
> > cstring_to_text has a small overhead, because call strlen for
> > pointer to char parameter.
> >
> > Is it worth the effort to avoid this, where do we know the size of the
> > parameter?
>
> Are there workloads where this matters?
>
None, but note this change has the same spirit of 8b26769bc
<https://github.com/postgres/postgres/commit/8b26769bc441fffa8aad31dddc484c2f4043d2c9>
.
best regards,
Ranier Vilela