Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hFxIV-0006it-VI for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Apr 2019 08:49:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hFxIU-0002Yt-Ba for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Apr 2019 08:49:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hFxIT-0002YQ-SQ for pgsql-hackers@lists.postgresql.org; Mon, 15 Apr 2019 08:49:02 +0000 Received: from mx1.mailbox.org ([80.241.60.212]) by makus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hFxIQ-0006uF-Oh for pgsql-hackers@postgresql.org; Mon, 15 Apr 2019 08:49:00 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 078ED4D5F7; Mon, 15 Apr 2019 10:48:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id EG1mPBh8gbnl; Mon, 15 Apr 2019 10:48:49 +0200 (CEST) From: Antonin Houska To: Michael Paquier cc: pgsql-hackers@postgresql.org Subject: Re: Attempt to consolidate reading of XLOG page In-reply-to: <20190412042746.GJ2144@paquier.xyz> References: <14984.1554998742@spoje.net> <20190412.122711.158276916.horiguchi.kyotaro@lab.ntt.co.jp> <20190412042746.GJ2144@paquier.xyz> Comments: In-reply-to Michael Paquier message dated "Fri, 12 Apr 2019 13:27:46 +0900." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12959.1555318127.1@localhost> Date: Mon, 15 Apr 2019 10:48:47 +0200 Message-ID: <12960.1555318127@localhost> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Michael Paquier wrote: > On Fri, Apr 12, 2019 at 12:27:11PM +0900, Kyotaro HORIGUCHI wrote: > > This patch changes XLogRead to allow using other than > > BasicOpenFile to open a segment, and use XLogReaderState.private > > to hold a new struct XLogReadPos for the segment reader. The new > > struct is heavily duplicated with XLogReaderState and I'm not > > sure the rason why the XLogReadPos is needed. > > Any other opinions, or thoughts? > > The focus is on the stability of v12 for the next couple of months, so > please make sure to register it to the next CF if you want feedback. ok, will do. (A link to mailing list is needed for the CF entry, so I had to post something anyway :-) Since I don't introduce any kind of "cool new feature" here, I believe it did not disturb much.) > Here are some basic thoughts after a very quick lookup. > ... Thanks. -- Antonin Houska Web: https://www.cybertec-postgresql.com