Re: Use stack-allocated StringInfoData - Mailing list pgsql-hackers

From David Rowley
Subject Re: Use stack-allocated StringInfoData
Date
Msg-id CAApHDvqmChZcq6SKWvECYhExey+=Nmm=fASSwFnn9groX4tGeg@mail.gmail.com
Whole thread Raw
In response to Re: Use stack-allocated StringInfoData  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
On Thu, 6 Nov 2025 at 00:01, David Rowley <dgrowleyml@gmail.com> wrote:
> I can push this tomorrow morning UTC+13. I'll leave it til then in
> case anyone else has any comments.

I found a few more cases that could get the same treatment and also
included the check_publications() one mentioned by Chao.

I did end up removing the subscriptioncmds.c. I thought those should
likely just be fixed to use errmsg() and errhint() instead of their
"internal" counterpart.

I left out the Coccinelle script. I'm not currently qualified to
review that, and not aware of the policy about that. I'm aware there's
another thread with some discussion about Coccinelle, but I've not
read it.

David



pgsql-hackers by date:

Previous
From: Xuneng Zhou
Date:
Subject: Re: pgstattuple: Use streaming read API in pgstatindex functions
Next
From: Shinya Kato
Date:
Subject: Re: Logical Replication of sequences