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?
pgsql-patches by date
|Next:||From: Alvaro Herrera||Date: 2007-11-23 11:10:37|
|Subject: Re: [HACKERS] wrong behavior using to_char() again|
|Previous:||From: Marko Kreen||Date: 2007-11-23 08:53:50|
|Subject: Re: plpython crash on exception|