Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y7nXN-0000Jv-Q8 for pgsql-committers@arkaria.postgresql.org; Sun, 04 Jan 2015 15:56:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y7nXM-0005I7-NQ for pgsql-committers@arkaria.postgresql.org; Sun, 04 Jan 2015 15:56:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y7nXK-0005Hw-TK for pgsql-committers@postgresql.org; Sun, 04 Jan 2015 15:56:14 +0000 Received: from mahout.postgresql.org ([2001:4800:1501:1::227]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y7nXH-0001Tn-C7 for pgsql-committers@postgresql.org; Sun, 04 Jan 2015 15:56:13 +0000 Received: from gemulon.postgresql.org ([2001:4800:1501:1::198]) by mahout.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Y7nXE-0006Mp-R0 for pgsql-committers@postgresql.org; Sun, 04 Jan 2015 15:56:08 +0000 Received: from git by gemulon.postgresql.org with local (Exim 4.80) (envelope-from ) id 1Y7nX9-0000im-BP for pgsql-committers@postgresql.org; Sun, 04 Jan 2015 15:56:03 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 To: pgsql-committers@postgresql.org From: Andres Freund Subject: pgsql: Add error handling for failing fstat() calls in copy.c. Message-Id: Date: Sun, 04 Jan 2015 15:56:03 +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: bulk Sender: pgsql-committers-owner@postgresql.org QWRkIGVycm9yIGhhbmRsaW5nIGZvciBmYWlsaW5nIGZzdGF0KCkgY2FsbHMg aW4gY29weS5jLgoKVGhlc2UgY2FsbHMgYXJlIHByZXR0eSBtdWNoIGd1YXJh bnRlZWQgbm90IHRvIGZhaWwgdW5sZXNzIHNvbWV0aGluZwpoYXMgZ29uZSBo b3JyaWJseSB3cm9uZywgYW5kIGV2ZW4gaW4gdGhhdCBjYXNlIHdlJ2QganVz dCBlcnJvciBvdXQgYQpzaG9ydCB0aW1lIGxhdGVyLiAgQnV0IHNpbmNlIHNl dmVyYWwgY29kZSBjaGVja2VycyBjb21wbGFpbiBhYm91dCB0aGUKbWlzc2lu ZyBjaGVjayBpdCBzZWVtcyB3b3J0aHdpbGUgdG8gZml4IGl0IG5vbmV0aGVs ZXNzLgoKUG9pbnRlZCBvdXQgYnkgQ292ZXJpdHkuCgpCcmFuY2gKLS0tLS0t Cm1hc3RlcgoKRGV0YWlscwotLS0tLS0tCmh0dHA6Ly9naXQucG9zdGdyZXNx bC5vcmcvcGcvY29tbWl0ZGlmZi8yZWE5NTk1OWFmYTIyNTExODM3NGFiMTY5 MWE1Y2NmODRhZTA1Y2U4CgpNb2RpZmllZCBGaWxlcwotLS0tLS0tLS0tLS0t LQpzcmMvYmFja2VuZC9jb21tYW5kcy9jb3B5LmMgfCAgICA4ICsrKysrKy0t CjEgZmlsZSBjaGFuZ2VkLCA2IGluc2VydGlvbnMoKyksIDIgZGVsZXRpb25z KC0pCgoKLS0gClNlbnQgdmlhIHBnc3FsLWNvbW1pdHRlcnMgbWFpbGluZyBs aXN0IChwZ3NxbC1jb21taXR0ZXJzQHBvc3RncmVzcWwub3JnKQpUbyBtYWtl IGNoYW5nZXMgdG8geW91ciBzdWJzY3JpcHRpb246Cmh0dHA6Ly93d3cucG9z dGdyZXNxbC5vcmcvbWFpbHByZWYvcGdzcWwtY29tbWl0dGVycwo=