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 1mdSOm-0002pA-Qr for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Oct 2021 07:22:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mdSOj-0000Kn-Sr for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Oct 2021 07:21:57 +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 1mdSOi-0000Ke-94 for pgsql-hackers@lists.postgresql.org; Thu, 21 Oct 2021 07:21:57 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mdSOf-0003jz-92 for pgsql-hackers@lists.postgresql.org; Thu, 21 Oct 2021 07:21:55 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 47B2C3201DBC; Thu, 21 Oct 2021 03:21:50 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 21 Oct 2021 03:21:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=oco0kpknooc4vUCzDhhJwiguJeh Xvs5A0+NDMetwOX0=; b=jcohkCJztm6zWmQd3bV7z8p00HnDR+IPqJIsrOrsMYz gttj2s5HChXkHz+KSQYTcu+UbgPB7SxRhrVi/IwUMLGKirBEZ7zvfUPEQJ+njZN3 utL1822rTx/h/1MDUl+KEZspQ3z0mmlTbcgEv5sA2BUgLFuvnPACNQEW2zVkuR9k /rWXJNQKlIVj2C8iB4pAb8tWm/b+gdAEMDq1lq1HguC6pJgmEtwr8oJpZy+dj9Pi ZF1XP0UkJV/fbe/zmP4OVsbRcT5wolZy+jMif9Z6X2qcvfoEREvAgZ8yWesqSz+g IrRMZ28+IUaJT8fxWNMDvOKhIO/Yxv3j5bmLH3rLgqw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=oco0kp knooc4vUCzDhhJwiguJehXvs5A0+NDMetwOX0=; b=FtwhTr8Du98vk7rEjxP+LB OvNVA5vpMnU632WbJPVdECKkFhSD8baJH199X/Lf2iggBj010VCCe7fRN8F0WTHr FHvZYLEqazi8yZOhiVzpez42CkhK7bVtCrOmpg9BSYdi6UTCB3kEKG8cstOC95gy TdZN9Hxhk3WStFpn/m0myaFYx4w3eUx/vjUMz0K3PDil8B7qhfwTZ+AE3pDfcxId iKhDVdW9c+iwDQV9aqCddvtSRvWg8k5qsQRqLEMHNs78zyVGXoMPjbkTmDEUnrnt VoRjwmZMnA+hE/Sb7GXGMHpNLtKUZUpflyYfog93z6uiLq6BNH5IK5aa3RsNDAsA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddvhedguddufecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepvdegudeuhfdtueeltedtveej heehieevueeigeelteegleejleeiueeiheegvefhnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 21 Oct 2021 03:21:47 -0400 (EDT) Date: Thu, 21 Oct 2021 16:21:44 +0900 From: Michael Paquier To: Ronan Dunklau Cc: pgsql-hackers@lists.postgresql.org, Bharath Rupireddy , Kyotaro Horiguchi , Masahiko Sawada Subject: Re: pg_receivewal starting position Message-ID: References: <4755573.0VBMTVartN@aivenronan> <5336539.LvFx2qVVIh@aivenronan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Gejbg+3i973/S3Oq" Content-Disposition: inline In-Reply-To: <5336539.LvFx2qVVIh@aivenronan> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Gejbg+3i973/S3Oq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 21, 2021 at 08:29:54AM +0200, Ronan Dunklau wrote: > Ok, do you want me to propose a different patch for previous versions ? That's not necessary. Thanks for proposing. > Do you mean restart_lsn as the pointer argument to the function, or=20 > restart_lsn as the field returned by the command ? If it's the first, I'l= l=20 > change it but if it's the latter it is expected that we sometime run this= on a=20 > slot where WAL has never been reserved yet. restart_lsn as the pointer of the function. -- Michael --Gejbg+3i973/S3Oq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmFxFQgACgkQnvQgOdby QH3N5RAAlVDJJWhsY0pY1KmzRHJqCCBcflvEHAkLihdZGB3gg9QQyIHB7/S36He3 IkFm01uHpi55M8Tz/RqbMLKIiIdCO3C8EQAs8rzGNg2CsDLWvMKF8GJ0hhvjPnKd dTZ1D26MbW4EFJ9Eesyv0GgXXCIL5KrNsMrUZ3KqloNYjrmekgYMjs/luEKpfQS9 wxODD8RCNwDSPmcLu1fBCdv/9jGj6psN6xWSzNtWU96Y/I+IoBb+2t+2B2TWZz1g iMRApbcKpl8UV758Qk27Z4bjrTDD0PpRtaFIqLnR6CKuwWvBE7DTwYrcp6UUFSMI rMxyEjqOyNrhDOLLntigrwVvlkgj/aX8pTfxWEuGluxZbOOgjnz+uIvkaO82c99j zIssjDBuD0nv9wCcUyLNRmtguSik86/Ip4bViEb8tHfD7a9f8qAKTmn+HrJpQOT5 A+cOc1RQDsbKgJV4joJSCpys0RVirBZMgHcodp5OBMvKxmtnLO0l6g6M2RD9d3/7 wtogv3E9CGpTtTNA4NTu7TTHfqzLYluB/HXnxEujuL/H3o22aas3RKzpC2oyXNAv HMkGCsYZW7VBi51c7UxE8THCrtHK71rxbv3Oa5s/pFgfkYDS04wlD/jZ3h2ixuOT iYuP97TD6PVRdEclfAi0OfxN4mh8ROgr4qVLKWOupz4nHuzrRHc= =VIsJ -----END PGP SIGNATURE----- --Gejbg+3i973/S3Oq--