Re: Proposal: add new API to stringinfo

From: Gurjeet Singh <gurjeet(at)singh(dot)im>
To: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Cc: michael(at)paquier(dot)xyz, dgrowleyml(at)gmail(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposal: add new API to stringinfo
Date: 2025-01-03 22:55:04
Message-ID: CABwTF4WSs8ueRmcTxdGK0iViYYnJUo0hBvAybko456-uGf-NwA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Dec 27, 2024 at 9:46 PM Tatsuo Ishii <ishii(at)postgresql(dot)org> wrote:
>
>
> With opinions from Michael and David , what about following additional APIs?
...
> #define makeStringInfo makeStringInfoExtended(STRINGINFO_DEFAULT_SIZE)

Minor nit: the definition of the macro should contain parentheses, like so:

#define makeStringInfo() ....

Best regards,
Gurjeet
http://Gurje.et

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2025-01-03 22:59:30 Re: Re: proposal: schema variables
Previous Message Andrew Dunstan 2025-01-03 22:16:58 Re: Proposal: add new API to stringinfo