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 1jYBFj-00027q-Cy for pgsql-hackers@arkaria.postgresql.org; Mon, 11 May 2020 16:26:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jYBFi-0001Ro-9O for pgsql-hackers@arkaria.postgresql.org; Mon, 11 May 2020 16:26:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYBFh-0001Qd-W2 for pgsql-hackers@lists.postgresql.org; Mon, 11 May 2020 16:26:02 +0000 Received: from mail-qk1-x742.google.com ([2607:f8b0:4864:20::742]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jYBFf-0005DN-Nj for pgsql-hackers@postgresql.org; Mon, 11 May 2020 16:26:00 +0000 Received: by mail-qk1-x742.google.com with SMTP id z80so4835372qka.0 for ; Mon, 11 May 2020 09:25:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=CaekhlliC36WWObxj0JFfVOBhWmtZab2kE+sZh4iqS0=; b=FF0xS4n3D8xcBGAg8r9oxZuL49bW9g1Yru24NHY6a1nZ7lHqoGr+cdRsNOfsYesPQz YcrR/XTI5AwKS3bM6P+sC4SqpBMJ59hefGNzceP7elxnOwg9OnOBsJ4twRWjbtZIEs4C d/F0RMSG+BpBXetS4PlJ0gtppju1L7PQEo06HciqV0WiDvp62PUUyi/HzIbk4qpnz9T6 WU4T0UTBjN87xI2miz2bkaBSDxag9eni5s7JxDX1c6A9JvrYoIqUC9zxHli8dfD6Yub/ +6p0u8Sqq86v1jRvZN2iijKJyiA0wAW4ULmBads6YieH1i8D0cw6EZDQPo3rklzjRe3v m25Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=CaekhlliC36WWObxj0JFfVOBhWmtZab2kE+sZh4iqS0=; b=blNc11K5EyWYRKRGqc/Wv2SdWQSCi3XmwWyjIpVhw2FyOXj4Ux64KBwQMSGB+GaZF+ 6L+QFH9JTRlHRzUZLF4HcPfcJ+Aevv7QTKCAaV0INsZ47d2uymkmNpi7Wae/5cc7MRdf 41Zo8WhKnq/+XKqButkCCWXjAJUXwu1atkYBJU6UGO7MqNrS0F1qGNWiumJruJAc8IKU yQCcGyx/QooBynQN6byV6BAjFpl9QEfjBdYIILc+sUsw9xW+kz5eHy+KS0Zrus87NMB9 tDyR1JKIZOR3UqgfRzDu2nqwP3FPkXlz26vFmMxRYX1Y4b12cC3XIy5U58hjvVW7YLE7 JMAQ== X-Gm-Message-State: AGi0PuYIYZNjYPCOEfjbt65dk8+YhsOA4wnQLCn9haoIBF1ZOx9NTShC a+WqCLrM2bg72O8mVyTTD1N/Og== X-Google-Smtp-Source: APiQypKkESxR28XAH/9hSvMN0V68GsnxNpj1qgYjeId2E+GKgTVqlb8c3OazvnbEM4gIa6usLVQG5Q== X-Received: by 2002:a37:4e05:: with SMTP id c5mr16381166qkb.232.1589214358535; Mon, 11 May 2020 09:25:58 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id c26sm8523692qkm.98.2020.05.11.09.25.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 09:25:57 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 768BF3002A8; Mon, 11 May 2020 12:25:54 -0400 (-04) Date: Mon, 11 May 2020 12:25:54 -0400 From: Alvaro Herrera To: Antonin Houska Cc: Kyotaro Horiguchi , andres@anarazel.de, michael@paquier.xyz, pgsql-hackers@postgresql.org Subject: Re: 2pc leaks fds Message-ID: <20200511162554.GA10483@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <28250.1589186654@antos> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Antonin, thanks for the review. On 2020-May-11, Antonin Houska wrote: > While looking at the changes, I've noticed a small comment issue in the > XLogReaderRoutine structure definition: > > * "tli_p" is an input/output argument. XLogRead() uses it to pass the > > The XLogRead() function has been renamed to WALRead() in 0dc8ead4. (This > incorrect comment was actually introduced by that commit.) Ah. I'll fix this, thanks for pointing it out. (It might be that the TLI situation can be improved with some callback, too.) -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services