Re: [PATCH] clarify palloc comment on quote_literal_cstr
Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
From: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
To: Steve Chavez <steve@supabase.io>
Cc: Michael Paquier <michael@paquier.xyz>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2025-04-08T03:17:53Z
Lists: pgsql-hackers
On Tue, Apr 8, 2025 at 12:08 AM Steve Chavez <steve@supabase.io> wrote: > > I haven't found a similar style of comment on any other function call. > > I've attached a new patch using the style you suggest. > > That being said, I do find the first form much more readable, but I understand this is a debatable subject. Thanks for addressing the comment. In PG code, we start a multiline comment with just /* on the first line and end with just */ on the last line. All the lines in-between start with * . Please check other comments in the file. I would write a., b. c. d. on separate lines. -- Best Wishes, Ashutosh Bapat
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Clarify comment for worst-case allocation in quote_literal_cstr()
- c36eda259130 18.0 landed