Skip site navigation (1) Skip section navigation (2)

Cleaner API for appendStringInfoVA

From: "Marko Kreen" <markokr(at)gmail(dot)com>
To: "Postgres Patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Cleaner API for appendStringInfoVA
Date: 2007-11-23 09:55:22
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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?


Attachment: cleaner_append_va.diff
Description: application/octet-stream (6.4 KB)


pgsql-patches by date

Next:From: Alvaro HerreraDate: 2007-11-23 11:10:37
Subject: Re: [HACKERS] wrong behavior using to_char() again
Previous:From: Marko KreenDate: 2007-11-23 08:53:50
Subject: Re: plpython crash on exception

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group