Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nX7lU-0001dg-5k for pgsql-committers@arkaria.postgresql.org; Wed, 23 Mar 2022 20:39:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nX7lS-0004qO-2q for pgsql-committers@arkaria.postgresql.org; Wed, 23 Mar 2022 20:39:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nX7iO-0006jZ-7z for pgsql-committers@lists.postgresql.org; Wed, 23 Mar 2022 20:36:20 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nX7iK-0004Mz-9G for pgsql-committers@lists.postgresql.org; Wed, 23 Mar 2022 20:36:19 +0000 Received: from gemulon.postgresql.org ([2001:4800:3e1:1::198]) by mahout.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nX7iI-00033D-8T for pgsql-committers@lists.postgresql.org; Wed, 23 Mar 2022 20:36:14 +0000 Received: from localhost ([127.0.0.1] helo=gemulon.postgresql.org) by gemulon.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1nX7iG-0014Vm-P1 for pgsql-committers@lists.postgresql.org; Wed, 23 Mar 2022 20:36:13 +0000 Content-Type: multipart/mixed; boundary="===============8245820628010061909==" MIME-Version: 1.0 From: Andres Freund To: pgsql-committers@lists.postgresql.org Subject: pgsql: Don't call fwrite() with len == 0 when writing out relcache init X-Auto-Response-Suppress: All Auto-Submitted: auto-generated Message-Id: Date: Wed, 23 Mar 2022 20:36:13 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --===============8245820628010061909== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 RG9uJ3QgY2FsbCBmd3JpdGUoKSB3aXRoIGxlbiA9PSAwIHdoZW4gd3JpdGluZyBvdXQgcmVsY2Fj aGUgaW5pdCBmaWxlLgoKTm90aWNlZCB2aWEgLWZzYW5pdGl6ZT11bmRlZmluZWQuCgpCYWNrcGF0 Y2ggdG8gYWxsIGJyYW5jaGVzLCBmb3IgdGhlIHNhbWUgcmVhc29ucyBhcyA0NmFiMDdmZmRhOS4K CkRpc2N1c3Npb246IGh0dHBzOi8vcG9zdGdyLmVzL20vMjAyMjAzMjMxNzM1MzcubGw3a2xyZ2xu cDRnbjJ1bUBhbGFwMy5hbmFyYXplbC5kZQpCYWNrcGF0Y2g6IDEwLQoKQnJhbmNoCi0tLS0tLQpS RUxfMTNfU1RBQkxFCgpEZXRhaWxzCi0tLS0tLS0KaHR0cHM6Ly9naXQucG9zdGdyZXNxbC5vcmcv cGcvY29tbWl0ZGlmZi84MDE0YzYxZWJkYTEwZDM5ZWY4ODU1YjQ4MjZhZWJhNWNhY2QzNmUxCgpN b2RpZmllZCBGaWxlcwotLS0tLS0tLS0tLS0tLQpzcmMvYmFja2VuZC91dGlscy9jYWNoZS9yZWxj YWNoZS5jIHwgMiArLQoxIGZpbGUgY2hhbmdlZCwgMSBpbnNlcnRpb24oKyksIDEgZGVsZXRpb24o LSkKCg== --===============8245820628010061909==--