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 1nX7lW-0001df-WC for pgsql-committers@arkaria.postgresql.org; Wed, 23 Mar 2022 20:39:34 +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-0004qP-3U 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 1nX7iQ-0007jn-Jk for pgsql-committers@lists.postgresql.org; Wed, 23 Mar 2022 20:36:22 +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-0004N0-AA for pgsql-committers@lists.postgresql.org; Wed, 23 Mar 2022 20:36:22 +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-00033B-9c 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-0014Vg-O1 for pgsql-committers@lists.postgresql.org; Wed, 23 Mar 2022 20:36:13 +0000 Content-Type: multipart/mixed; boundary="===============5335036534309179178==" 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 --===============5335036534309179178== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 RG9uJ3QgY2FsbCBmd3JpdGUoKSB3aXRoIGxlbiA9PSAwIHdoZW4gd3JpdGluZyBvdXQgcmVsY2Fj aGUgaW5pdCBmaWxlLgoKTm90aWNlZCB2aWEgLWZzYW5pdGl6ZT11bmRlZmluZWQuCgpCYWNrcGF0 Y2ggdG8gYWxsIGJyYW5jaGVzLCBmb3IgdGhlIHNhbWUgcmVhc29ucyBhcyA0NmFiMDdmZmRhOS4K CkRpc2N1c3Npb246IGh0dHBzOi8vcG9zdGdyLmVzL20vMjAyMjAzMjMxNzM1MzcubGw3a2xyZ2xu cDRnbjJ1bUBhbGFwMy5hbmFyYXplbC5kZQpCYWNrcGF0Y2g6IDEwLQoKQnJhbmNoCi0tLS0tLQpS RUxfMTRfU1RBQkxFCgpEZXRhaWxzCi0tLS0tLS0KaHR0cHM6Ly9naXQucG9zdGdyZXNxbC5vcmcv cGcvY29tbWl0ZGlmZi84OWE5NGMyNGFhZGQ4ZjQwMDg0MzM5ZWEzZDE2ZTJlMTRmYTlmNjI5CgpN b2RpZmllZCBGaWxlcwotLS0tLS0tLS0tLS0tLQpzcmMvYmFja2VuZC91dGlscy9jYWNoZS9yZWxj YWNoZS5jIHwgMiArLQoxIGZpbGUgY2hhbmdlZCwgMSBpbnNlcnRpb24oKyksIDEgZGVsZXRpb24o LSkKCg== --===============5335036534309179178==--