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 1lOVpi-0006lF-RA for pgsql-general@arkaria.postgresql.org; Tue, 23 Mar 2021 01:27:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lOVph-00052L-1M for pgsql-general@arkaria.postgresql.org; Tue, 23 Mar 2021 01:27:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lOVpg-00052D-PO for pgsql-general@lists.postgresql.org; Tue, 23 Mar 2021 01:27:44 +0000 Received: from aart.rice.edu ([168.7.56.48]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lOVpb-0007F0-Nu for pgsql-general@lists.postgresql.org; Tue, 23 Mar 2021 01:27:44 +0000 Received: by aart.rice.edu (Postfix, from userid 18612) id 7374C400BFB0; Mon, 22 Mar 2021 20:27:37 -0500 (CDT) Date: Mon, 22 Mar 2021 20:27:37 -0500 From: Kenneth Marshall To: Merlin Moncure Cc: Ruslan , pgsql-general Subject: Re: Binary encoding of timetz type Message-ID: <20210323012737.GD8123@aart.rice.edu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Mar 22, 2021 at 08:11:55PM -0500, Merlin Moncure wrote: > Check out libpqtypes -- it has client side send/receive functions for > binary format you can crib from. > > https://github.com/pgagarinov/libpqtypes/blob/master/source/src/datetime.c > > merlin Hi, I just wanted to +1 the libpqtypes. An excellent piece of work. Regards, Ken