Re: Bogus sizing parameters in some AllocSetContextCreate calls

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bogus sizing parameters in some AllocSetContextCreate calls
Date: 2016-08-28 14:59:28
Message-ID: 15531.1472396368@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2016-08-28 15:16:18 Re: Bogus sizing parameters in some AllocSetContextCreate calls
Previous Message Tomas Vondra 2016-08-28 14:53:07 Re: Bogus sizing parameters in some AllocSetContextCreate calls