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 1meuak-0003KI-Kt for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Oct 2021 07:40:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1meuai-0007Dt-80 for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Oct 2021 07:40:20 +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 1meuah-0007Dj-V6 for pgsql-hackers@lists.postgresql.org; Mon, 25 Oct 2021 07:40:19 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1meuaf-0005ps-W0 for pgsql-hackers@lists.postgresql.org; Mon, 25 Oct 2021 07:40:19 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id A584D3201D16; Mon, 25 Oct 2021 03:40:16 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 25 Oct 2021 03:40:17 -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=1Qb6sdjv1FIqYGPpPTLfROFVUhB ShUqwPEfFit5bU5w=; b=Hf66nhvtBWTQIL4PyUNlxhmjcspm/zRBfjLoWH/t7+Y H9I3Qge/fwBnhKZt4F3uMVNPNRwAS/Br5k+TfLL0u7NrcmZCLxwNQmKpWnavv50O TDFRQndNYDyL+/Q4HiazE0SYMfpfp7LPy/3vuS3hzzIOuFbVGeA2arVxCB4awrS+ Xp810CrXmNj48bxZ+CocAJcPjQrbfayboz+Yg2Eo3O40DGCR2HKC/KtD/qQuhh3v yYDTpLVExcVhZlSV1IlBDNhluWVim9kZh6V78wckX/M9j4ayYSLyXjYJtQ3Ehdw0 XO0O9XeHFa+6xJ8g1WfBJH3gRaYDDxJj1QdnhkbSBIw== 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=1Qb6sd jv1FIqYGPpPTLfROFVUhBShUqwPEfFit5bU5w=; b=lo/PRbfiQJdjbNKxJN9VjT 4iUql5KKJHL3haD15UuT00sj0Ips+rI3gMNNZognWk9WCvRRganmTUOMgIwiOYP/ uhpjf3jTiY+cqaWpWMgWgp9yXPnfExW/Rhekq5V8YGd7Uhk19sgXrBs38Om/MeYN vgSx9kZVacV0fUy4LX/EOpqQSydJYzyXcIllbqsMifM6N0AnDwPLxYYcZxQY0sI4 3vY0TjbLl7xHYqlWigSK9bAMZt5FJz4eu9ck7UV+xEEFQz91zxDm2dH7Ra0EJInp +GqliVphMSO+FWo/TYwq6WIEeTfL9ALJM1m3JzyXS6m1duruvTrIGwZ5XAUl4UnA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefgedguddvtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepvdegudeuhfdtueeltedtveej heehieevueeigeelteegleejleeiueeiheegvefhnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 25 Oct 2021 03:40:13 -0400 (EDT) Date: Mon, 25 Oct 2021 16:40:10 +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: <4126495.44csPzL39Z@aivenronan> <5781690.lOV4Wx5bFT@aivenronan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3PJt6Yf27tIhlLsR" Content-Disposition: inline In-Reply-To: <5781690.lOV4Wx5bFT@aivenronan> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --3PJt6Yf27tIhlLsR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 25, 2021 at 09:15:32AM +0200, Ronan Dunklau wrote: > Does it make sense though ? The NULL slot_name case handling is pretty=20 > straight forward has it will be handled by string formatting, but in the = case=20 > of a null restart_lsn, we have no way of knowing if the command was issue= d at=20 > all. If I am following your point, I don't think that it matters much here, and it seems useful to me to be able to pass NULL for both of them, so as one can check if the slot exists or not with an API designed this way. -- Michael --3PJt6Yf27tIhlLsR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmF2X1oACgkQnvQgOdby QH2AaQ/9F7s32m91/JM51rmB0SaZMZLbtJHeAlPG6KKggVkHmuDHq0P48gYajkAz FIvsXoqhR7wZxlJt4TEqBNpFn9ykzupihw2+0JaOas/kzta09US1vsqZ5lC+0w5Q d4MIliRY3GE8b+FUYQlLGxDGJrusZptkPi8C6hTCfbmx4ErtsODLW//MeYuGJahy D6EdFgw4mOfV94p0o8ZRHxuoxNOxMltV3FQLHVdLp2WA1ek2pU0CY+/AhFmD7qOi kxVe1RvEBXSxJbLa4OPlFqkDSUE0Mm6zFl+MpmxM5rbcJvpTg1Wtv7QkT4hgwAmW LJ9KqSTKMK2JhwPRmz3ksXg8BobbX92gHf6a0/FccNt/R8k1IfGyKkNEXytGMzXo hfa5FbaYXnMjwAf1uts1W3jNpqb8FSwz63XdRHb/vhOjQrhSqv0Wq6TE/BwrFYgj 5kJVWNVTBCaOf3mC9jaUQ402upaZgS6OoiuHzApAY1rk8rx7NG4QHanS+w33xgsM sdxmVo8+JbQ2SOtZXvjQD2963APfYxgQHBBLF2ZDAHqg9gFecwf6pi0ygQ7Jmhkr N5tNNpQWuDTtANKoVOWKn70jSMFvbN9/Yy+9F3nnmNA95PoHHO6BgjtM7XUX+ize lm6TrT8TPZDkMKRAt04tz3vt+cihcJE1tvxumws+uphkQs6M+JA= =0T7r -----END PGP SIGNATURE----- --3PJt6Yf27tIhlLsR--