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

Re: StringInfo misc. issues

From: NikhilS <nikkhils(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: StringInfo misc. issues
Date: 2007-08-30 06:01:02
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Apologies! As Alvaro guessed it correctly I was working with 8.2 sources.
Sorry for the noise.


On 8/29/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> NikhilS <nikkhils(at)gmail(dot)com> writes:
> > The attached patch should fix this.
> And break other things, no doubt.  needed = 0 is a perfectly valid
> edge case and mustn't be rejected here.  (In fact, I doubt you'd
> even get through the regression tests with this patch ... how much
> did you test it?)
> The real problem with what you describe is that you should have used
> makeStringInfo().
> > I also found the absence of a function like resetStringInfo() a bit
> > puzzling.
> CVS HEAD is way ahead of you.
>                         regards, tom lane


In response to

pgsql-hackers by date

Next:From: Gregory StarkDate: 2007-08-30 06:32:28
Subject: Re: Why is there a tsquery data type?
Previous:From: Tom LaneDate: 2007-08-30 04:33:03
Subject: Re: Advice on MyXactMade* flags, MyLastRecPtr, pendingDeletes and lazy XID assignment

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