Re: resetStringInfo - Mailing list pgsql-patches

From Neil Conway
Subject Re: resetStringInfo
Date
Msg-id 1172950392.6571.62.camel@localhost.localdomain
Whole thread Raw
In response to Re: resetStringInfo  (Joe Conway <mail@joeconway.com>)
List pgsql-patches
On Sat, 2007-03-03 at 10:57 -0800, Joe Conway wrote:
> I have used pfree(var.data) combined with initStringInfo(&var) in a few
> places (e.g. in tablefunc.c).

Thanks, fixed. I also did a bit more searching and found some more
places where resetStringInfo() could be used to replace the previous
custom coding. Patch attached and applied.

-Neil


Attachment

pgsql-patches by date:

Previous
From: Joe Conway
Date:
Subject: Re: resetStringInfo
Next
From: Bruce Momjian
Date:
Subject: Re: xpath_array with namespaces support