Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fqJch-0004db-47 for pgsql-committers@arkaria.postgresql.org; Thu, 16 Aug 2018 14:51:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fqJce-00086C-Sd for pgsql-committers@arkaria.postgresql.org; Thu, 16 Aug 2018 14:51:36 +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.89) (envelope-from ) id 1fqJce-000865-Nc for pgsql-committers@lists.postgresql.org; Thu, 16 Aug 2018 14:51:36 +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.89) (envelope-from ) id 1fqJca-0003GT-U0 for pgsql-committers@lists.postgresql.org; Thu, 16 Aug 2018 14:51:36 +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.89) (envelope-from ) id 1fqJcY-00052m-UU for pgsql-committers@lists.postgresql.org; Thu, 16 Aug 2018 14:51:31 +0000 Received: from git by gemulon.postgresql.org with local (Exim 4.89) (envelope-from ) id 1fqJcY-0008Lp-Ah for pgsql-committers@lists.postgresql.org; Thu, 16 Aug 2018 14:51:30 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 To: pgsql-committers@lists.postgresql.org From: Tomas Vondra Subject: pgsql: Close the file descriptor in ApplyLogicalMappingFile Message-Id: Date: Thu, 16 Aug 2018 14:51:30 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: b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