Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sGlOp-00Gtww-Kl for pgsql-general@arkaria.postgresql.org; Mon, 10 Jun 2024 20:13:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sGlOn-00FsIM-Vf for pgsql-general@arkaria.postgresql.org; Mon, 10 Jun 2024 20:13:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sGlOn-00FsHx-3b for pgsql-general@lists.postgresql.org; Mon, 10 Jun 2024 20:13:50 +0000 Received: from fhigh5-smtp.messagingengine.com ([103.168.172.156]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sGlOk-000gMH-TJ for pgsql-general@postgresql.org; Mon, 10 Jun 2024 20:13:48 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 67E54114012D; Mon, 10 Jun 2024 16:13:45 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 10 Jun 2024 16:13:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1718050425; x=1718136825; bh=ixjC++NxPZSqpMPgd4ILDnH8HoRa4PFMo08Xj4jW9bY=; b= Ksp6vTs9TjboXc/R/uIZ8eBXXViialuZ7xnfN61mQsQv7YLyuttXodzmPoZMQFXp 2KwBIc6s3I1wQE89+sAWI9UjDTgw4bKSou531yfzDvS31d1LnnvWkijS8IRQRKCa oQMdkXbvRYAYuApWj0XchdsK8ooLqPiBvJck2lFtpsIsU5Kp9CcnWBugb8wKDDJv XCBi2WnThhAIhm3bMPBz0OAd5liXiLuYASp2bX+VtvYwoyloUjy1i4HqzefDcB4N hGWuWUsOH4RH44xbn2epfQ5gc2i/ewbbjrVqiDusJI6jM0qze5M/TeDjDu3ADj1/ i9MYkf1PLNW+IthjFyD4LQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718050425; x= 1718136825; bh=ixjC++NxPZSqpMPgd4ILDnH8HoRa4PFMo08Xj4jW9bY=; b=Y 2Z0rRS4PK/J3jf70fLQiTQCY/BuMdTbC/W9QlPWk3CEpt0Jy4VPz8BR952AyATXN TKN9OiZUGMfJl42V0aNO4j3KwnK2iVM8w4YFQrvmoHxzRnvvcMrcDTa9wdAx8m4R jf0xn5LOovD2+DlKyJ4LtqrVg7FIWOMewynhvKWyUKk0UuGlPpm2tCfobRb8NZrC 1FprKcqGcmZbU6KGwH/UIoXshxs001qNwnDJJa3rRYSTUONwFh/AnQBE9C2IuiIE OXzufVYPm2G4zsvV+7Ge/1a7pLxRtiKYcKS7ZRCW3ooaMihzayOohDPs03VQsvq7 Kot9MTMgozpoMdeXuDEkQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedutddgudegiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttddvjeenucfhrhhomheptegu rhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrd gtohhmqeenucggtffrrghtthgvrhhnpefgudefkefhveefleevieeuveehvdduudekuddv vdelhfeuueeijedtuedvvedvueenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorh hgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggu rhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 10 Jun 2024 16:13:44 -0400 (EDT) Message-ID: Date: Mon, 10 Jun 2024 13:13:43 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: libpq v17 PQsocketPoll timeout is not granular enough To: Dominique Devienne , Tom Lane Cc: pgsql-general@postgresql.org References: <740207.1718036299@sss.pgh.pa.us> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/10/24 11:43, Dominique Devienne wrote: > Bummer… I didn’t presume to suggest an api before, but simply adding an > extra int with the milliseconds offset from the time_t is simple, and > trivial to plug into the implementation I saw. Callers who don’t care > can simply pass zero. while I could pass a computed time_t and ms offset > using . No need for fancy types imho. Aren’t betas precisely for https://www.postgresql.org/developer/beta/ "PostgreSQL beta and release candidate releases are pre-release testing versions before the community makes a new release generally available. They are feature-frozen (i.e. no new features are added), and we release these to the public for testing before our final release. PostgreSQL beta and release candidate release are not meant for use in production systems." > the purpose of exposing apis to those like myself to vet them? This is > also beta1, I,e, the first one. My €0.02 > -- Adrian Klaver adrian.klaver@aklaver.com