Re: Review - Patch for pg_bsd_indent: improve formatting of multiline comments

Aleksander Alekseev <aleksander@tigerdata.com>

From: Aleksander Alekseev <aleksander@tigerdata.com>
To: pgsql-hackers@lists.postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Álvaro Herrera <alvherre@kurilemu.de>
Date: 2026-05-12T12:15:31Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. De-obfuscate the comment in tsrank.c's calc_rank_or().

Attachments

Hi,

>             /*-----
>              * limit (sum(1/i^2),i=1,inf) = pi^2/6
>              * resj = sum(wi/i^2),i=1,noccurrence,
>              * wi - should be sorted desc,
>              * don't sort for now, just choose maximum weight.
>              * This should be corrected
>              * Oleg Bartunov
>              */
>             res = res + (wjm + resj - wjm / ((jm + 1) * (jm + 1))) / 1.64493406685;
>
> > (Not that I understand what this is trying to tell me, mind)
>
> Me either :-(

I *think* maybe I was able to decipher it. PFA the patch.

-- 
Best regards,
Aleksander Alekseev