Cleaner API for appendStringInfoVA - Mailing list pgsql-patches

From Marko Kreen
Subject Cleaner API for appendStringInfoVA
Date
Msg-id e51f66da0711230155n1e5907bboa22aef5b9a5be9b4@mail.gmail.com
Whole thread Raw
Responses Re: Cleaner API for appendStringInfoVA
Re: Cleaner API for appendStringInfoVA
List pgsql-patches
Attached patch moves decision how much more room to allocate
from callers of appendStringInfoVA to inside the function,
where more info is available.

On systems with broken vsnprintf() it falls back
to doubleing the buffer.

Fixme: the +1 could be something larger?  Aligned?

--
marko

Attachment

pgsql-patches by date:

Previous
From: "Marko Kreen"
Date:
Subject: Re: plpython crash on exception
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] wrong behavior using to_char() again