Re: resetStringInfo
От
Neil Conway
Тема
Re: resetStringInfo
Дата
Msg-id
1172942199.6571.49.camel@localhost.localdomain
Ответ на
Re: resetStringInfo (Bruce Momjian)
Список
Дерево обсуждения
resetStringInfo Neil Conway <neilc@samurai.com>
Re: resetStringInfo Tom Lane <tgl@sss.pgh.pa.us>
Re: resetStringInfo Joe Conway <mail@joeconway.com>
Re: resetStringInfo Neil Conway <neilc@samurai.com>
Re: resetStringInfo Bruce Momjian <bruce@momjian.us>
Re: resetStringInfo Neil Conway <neilc@samurai.com>
Re: resetStringInfo Alvaro Herrera <alvherre@commandprompt.com>
Re: resetStringInfo Neil Conway <neilc@samurai.com>
On Sat, 2007-03-03 at 11:23 -0500, Bruce Momjian wrote: > Are there any places in our code where we could use it? I manually grep'ed around and found a few places where resetStringInfo can be used, but I probably didn't find them all: it's quite hard to find all the places in which "StringInfo->len = 0" is assigned to, given that the StringInfo might have any variable name, and variables like "len" and "buf" are very common for other purposes. Attached is a revised patch, I'll commit it later today. -Neil
В списке pgsql-patches по дате отправления