Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1beeLS-00042K-Bx for pgsql-hackers@arkaria.postgresql.org; Tue, 30 Aug 2016 08:24:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1beeLR-0003cU-VC for pgsql-hackers@arkaria.postgresql.org; Tue, 30 Aug 2016 08:24:34 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1beeK3-0000Q4-6z for pgsql-hackers@postgresql.org; Tue, 30 Aug 2016 08:23:07 +0000 Received: from newmail.postgrespro.ru ([93.174.131.138] helo=mail.postgrespro.ru) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1beeK0-00070A-Th for pgsql-hackers@postgresql.org; Tue, 30 Aug 2016 08:23:06 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id 1CE9221C250B; Tue, 30 Aug 2016 11:23:04 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at postgrespro.ru Received: from mail.postgrespro.ru ([127.0.0.1]) by localhost (mail.postgrespro.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PD8d1t_8W7eP; Tue, 30 Aug 2016 11:23:04 +0300 (MSK) Received: from localhost (unknown [192.168.27.1]) by mail.postgrespro.ru (Postfix) with ESMTPSA id D29FA21C2509; Tue, 30 Aug 2016 11:23:03 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1472545383; bh=gUNqOrRuf6mGb+PubVDD5FMGi9x/Oi/EvSMuRZu1LKE=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=GguB1y8ExZW2uWWcKJnJZvxKKEEfMQKUtwJUn+ZF+cCl5nKZSlEyGHY+/cdykfhmB GV5BM7CWwk9xfcUPBgl1pogMJ/2Q1LRMtuCU7V91NYRyFAcNlKJs5bKyaFrgQUzm6n RO9LfS4nHCEPlSArJDQhTqHi1lFMW9qsk4zmpI4k= Date: Tue, 30 Aug 2016 11:21:42 +0300 From: Aleksander Alekseev To: Michael Paquier Cc: Heikki Linnakangas , Tom Lane , PostgreSQL mailing lists Subject: Re: Missing checks when malloc returns NULL... Message-ID: <20160830082141.GB58667@e733> References: <20160829130513.GA8340@e733> <20160829141315.GB8340@e733> <20160830080849.GA58667@e733> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) X-Pg-Spam-Score: -3.5 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org > >> And with an actual patch things are better. > > > > Currently I can't think of any further improvements. I even would dare > > to say that patch is Ready for Committer. > > Thanks for the fruitful input by the way! You spotted many things. Thank _you_ for paying attention for such issues in PostgreSQL code! -- Best regards, Aleksander Alekseev -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers