Обсуждение: small cleanup patches for collation code

Поиск
Список
Период
Сортировка

small cleanup patches for collation code

От
Jeff Davis
Дата:
Two patches attached.

0001 fixes a style issue. Backport because it eliminates a warning in
the 'update-unicode' target.

0002 looks like a bug, but is not a real issue because there are no
callers that pass srclen==-1, aside from a test (which fails to fail).
So it's just cleanup, but it seems worth backporting.

Regards,
    Jeff Davis


Вложения

Re: small cleanup patches for collation code

От
Peter Eisentraut
Дата:
On 17.04.26 21:30, Jeff Davis wrote:
> Two patches attached.
> 
> 0001 fixes a style issue. Backport because it eliminates a warning in
> the 'update-unicode' target.

These warning options were only added in PG19, so backpatching is not 
necessary.

> 0002 looks like a bug, but is not a real issue because there are no
> callers that pass srclen==-1, aside from a test (which fails to fail).
> So it's just cleanup, but it seems worth backporting.

That looks right.