| From: | Aleksander Alekseev <aleksander(at)tigerdata(dot)com> |
|---|---|
| To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
| Subject: | Re: Review - Patch for pg_bsd_indent: improve formatting of multiline comments |
| Date: | 2026-05-12 12:15:31 |
| Message-ID: | CAJ7c6TO0xvunpeOv89i1eKQBhKF9=GEETkTz+yAGs1xGYH25MQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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
| Attachment | Content-Type | Size |
|---|---|---|
| v1-0001-Decipher-the-comment-in-tsrank.c.patch | text/x-patch | 2.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Sabino Mullane | 2026-05-12 12:41:28 | Re: First draft of PG 19 release notes |
| Previous Message | Ashutosh Bapat | 2026-05-12 11:58:48 | Re: (SQL/PGQ) cache lookup failed for label |