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 1qVwBX-001dfo-Gx for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Aug 2023 15:42:19 +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 1qVwBV-00FgSc-IF for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Aug 2023 15:42:17 +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 1qVwBV-00FgRv-7s for pgsql-hackers@lists.postgresql.org; Tue, 15 Aug 2023 15:42:17 +0000 Received: from mail-yb1-xb2b.google.com ([2607:f8b0:4864:20::b2b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qVwBP-000HlL-Ol for pgsql-hackers@postgresql.org; Tue, 15 Aug 2023 15:42:16 +0000 Received: by mail-yb1-xb2b.google.com with SMTP id 3f1490d57ef6-d4b74a4a6daso5568089276.2 for ; Tue, 15 Aug 2023 08:42:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692114131; x=1692718931; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=8knUwiGPsF4UUci3rTes4gMrpINaIJB0j/hJgJznD2o=; b=E7idaRQmhdxucZp2z0J+FOVO2qOqhnH2TxgAFW5P98rABkLoA5rhbHdz+eEhLakIfc wjmpItd72YDMiG5zjcca2ByoTdQuvcqi/IISseeiNa51fplTqV92gYs1fOFBFiWXhOiT hAlgiXA7t60WmyWkG04mZmsKGnQtbpgzRzprEnIISwKdejqu0HPcnY2DB75r2XsAWYt8 QY9vv//JF4lvr8ot1yRXqd1Xo0XaWogNciBnk29QxyXJGjgEF0XMnwqsh+w7XKyrvq2k kUPvkcTb/ki1YcygLuxNjvc4ew8AQt4PVAxdjantMvJFMWt74oaieszyv394u2TlFgjh hIpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692114131; x=1692718931; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=8knUwiGPsF4UUci3rTes4gMrpINaIJB0j/hJgJznD2o=; b=hoEcZlKdBGtRD5pY5D4di3XnUJpg53EMDQxBh118nEoBYcfEaWRO+yB3RhAF2sLoLW iAO3PPYwcuAVylQkqYUdiUWwMtR/eO3z4T37u/N8keJeXdpvsTd51+GNvd9F4ECFYFmb 5DhXypBNnQVk5CtzJshErw32DdwM/KMLG/NbF5rJMjlCCtOkZywSMGrHmwuiX/BFyrGB ZBKjaS1tH5OSasf8no3rIRTBralmndCUWxqGa6+A8Lw4XVHVDaL+G9iIyHb+CabY5PRB x7k1GXA/RimLIGNJVuot5ZwTOOOcw0r2ECKTLNxayesnTYs6NUgAqJyKdV/E0voPQYqt MOqA== X-Gm-Message-State: AOJu0YxPNmtvzAmI3G8RZ1W5tFQDofccoF+/cj46pz1KVB00ahz4NHV7 yKoJgYDkQADypWPT7WmhxMQ= X-Google-Smtp-Source: AGHT+IE3YKsWZ3YLqOmm8NTNGl26ngKbVlQ8AA7SKd33p5lthXhvRpAXEeS+Os9rsbTha3TCX7gQbw== X-Received: by 2002:a25:3241:0:b0:d4a:5fc2:dbcd with SMTP id y62-20020a253241000000b00d4a5fc2dbcdmr12827740yby.28.1692114130934; Tue, 15 Aug 2023 08:42:10 -0700 (PDT) Received: from nathanxps13 ([2600:1700:48f8:340f:1461:f5a:50a7:967f]) by smtp.gmail.com with ESMTPSA id p143-20020a257495000000b00c5ec980da48sm2971528ybc.9.2023.08.15.08.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Aug 2023 08:42:10 -0700 (PDT) Date: Tue, 15 Aug 2023 08:42:08 -0700 From: Nathan Bossart To: Vik Fearing Cc: Kirk Wolak , Peter Eisentraut , Eric Radman , pgsql-hackers@postgresql.org Subject: Re: [PATCH] Add function to_oct Message-ID: <20230815154208.GC2296544@nathanxps13> References: <5c260f97-d8c8-4a68-7498-022e550c6b10@enterprisedb.com> <20230725232426.GA2992317@nathanxps13> <20230726001656.GC2992317@nathanxps13> <20230726032917.GA3151386@nathanxps13> <20230815041129.GB2294364@nathanxps13> <5918e2f0-bb2c-f652-4ec0-982c82fcb0ff@postgresfriends.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5918e2f0-bb2c-f652-4ec0-982c82fcb0ff@postgresfriends.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Aug 15, 2023 at 07:58:17AM +0200, Vik Fearing wrote: > On 8/15/23 06:11, Nathan Bossart wrote: >> If there are no objections, I'd like to commit this patch soon. > > I just took a look at this (and the rest of the thread). I am a little bit > disappointed that we don't have a generic base conversion function, but even > if we did I think these specialized functions would still be useful. > > No objection from me. Thanks for taking a look. I don't mean for this to preclude a generic base conversion function that would supersede the functions added by this patch. However, I didn't want to hold up $SUBJECT because of something that may or may not happen after lots of discussion. If it does happen within the v17 development cycle, we could probably just remove to_oct/binary. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com