Re: [COMMITTERS] 'pgsql/src/backend/lib stringinfo.c'

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: tgl(at)hub(dot)org (Tom Lane)
Cc: hackers(at)postgreSQL(dot)org (PostgreSQL-development)
Subject: Re: [COMMITTERS] 'pgsql/src/backend/lib stringinfo.c'
Date: 1998-11-08 21:44:17
Message-ID: 199811082144.QAA12357@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Update of /usr/local/cvsroot/pgsql/src/backend/lib
> In directory hub.org:/tmp/cvs-serv21717
>
> Modified Files:
> stringinfo.c
> Log Message:
> Fix a potential infinite loop in appendStringInfo: would lock
> up if first string to be appended to an empty StringInfo was longer
> than the initial space allocation.
> Also speed it up slightly.

Does this remove the need for vsnprintf?

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Terry Mackintosh 1998-11-09 02:42:12 OK now :-) was Re: [HACKERS] regression tests
Previous Message Terry Mackintosh 1998-11-08 18:56:18 Re: [HACKERS] regression tests