pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Bogus sizing parameters in some AllocSetContextCreate calls
Date: Sun, 28 Aug 2016 10:59:28 -0400
Message-ID: <15531.1472396368@sss.pgh.pa.us> (raw)
In-Reply-To: <b447c417-f550-f79a-b6a6-491363b7f9a2@2ndquadrant.com>
References: <21072.1472321324@sss.pgh.pa.us>
	<CA+TgmobNcELVd3QmLD3tx=w7+CokRQiC4_U0txjz=WHpfdkU=w@mail.gmail.com>
	<14922.1472395319@sss.pgh.pa.us>
	<b447c417-f550-f79a-b6a6-491363b7f9a2@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (13+ messages)  latest in thread

Message-ID: <15531.1472396368@sss.pgh.pa.us>
Permalink:  ../15531.1472396368@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15531.1472396368@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tomas.vondra@2ndquadrant.com, robertmhaas@gmail.com
  Subject: Re: Bogus sizing parameters in some AllocSetContextCreate calls
  In-Reply-To: <15531.1472396368@sss.pgh.pa.us>
  References: <21072.1472321324@sss.pgh.pa.us> <CA+TgmobNcELVd3QmLD3tx=w7+CokRQiC4_U0txjz=WHpfdkU=w@mail.gmail.com> <14922.1472395319@sss.pgh.pa.us> <b447c417-f550-f79a-b6a6-491363b7f9a2@2ndquadrant.com> <15531.1472396368@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox