Re: Bogus sizing parameters in some AllocSetContextCreate calls - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Bogus sizing parameters in some AllocSetContextCreate calls
Date
Msg-id 15531.1472396368@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bogus sizing parameters in some AllocSetContextCreate calls  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Responses Re: Bogus sizing parameters in some AllocSetContextCreate calls  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List pgsql-hackers
Tomas Vondra <tomas.vondra@2ndquadrant.com> writes:
> I'm however pretty sure this will have absolutely no impact on profiles. 

Yeah, I do not believe that either.  Also, I think that the intent of the
existing code is to defend against bad parameters even in non-assert
builds.  Which might argue for turning these into test-and-elog rather
than asserts.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Bogus sizing parameters in some AllocSetContextCreate calls
Next
From: Tomas Vondra
Date:
Subject: Re: Bogus sizing parameters in some AllocSetContextCreate calls