Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnD7z-0006MG-FT for pgsql-committers@arkaria.postgresql.org; Sun, 12 Mar 2017 23:42:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cnD7z-0002Ol-2M for pgsql-committers@arkaria.postgresql.org; Sun, 12 Mar 2017 23:42:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cnD7Z-0007Wu-Cu for pgsql-committers@postgresql.org; Sun, 12 Mar 2017 23:41:53 +0000 Received: from mahout.postgresql.org ([2001:4800:1501:1::227]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cnD7Q-0008Rx-Cl for pgsql-committers@postgresql.org; Sun, 12 Mar 2017 23:41:52 +0000 Received: from gemulon.postgresql.org ([2001:4800:1501:1::198]) by mahout.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cnD7N-0006sE-Gb for pgsql-committers@postgresql.org; Sun, 12 Mar 2017 23:41:42 +0000 Received: from git by gemulon.postgresql.org with local (Exim 4.84_2) (envelope-from ) id 1cnD7M-00034I-TE for pgsql-committers@postgresql.org; Sun, 12 Mar 2017 23:41:40 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 To: pgsql-committers@postgresql.org From: Noah Misch Subject: pgsql: Fix pg_file_write() error handling. Message-Id: Date: Sun, 12 Mar 2017 23:41:40 +0000 X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: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